Difference between revisions of "S1C88 InstructionSet"

From SublabWiki
Jump to: navigation, search
(JP: Indirect jump)
 
(86 intermediate revisions by the same user not shown)
Line 1: Line 1:
''' THIS PAGE IS IN PROCESS '''
 
 
 
= 8-bit arithmetic and logic operation =
 
= 8-bit arithmetic and logic operation =
 
== '''ADD''': Addition ==
 
== '''ADD''': Addition ==
 
== '''ADC''': Addition with carry ==
 
 
== '''SUB''': Subtraction ==
 
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
| rowspan="12" | [[S1C88_SUB|SUB]]
+
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_ADD|ADD]]
 
| A,A
 
| A,A
| 10
+
| 0
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 1
 
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,B
 
| A,B
| 11
+
| 1
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 1
 
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,#nn
 
| A,#nn
| 12,nn
+
| 2,nn
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[HL]
 
| A,[HL]
| 13
+
| 3
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 1
 
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[BR:ll]
 
| A,[BR:ll]
| 14,ll
+
| 4,ll
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[hhll]
 
| A,[hhll]
| 15,ll,hh
+
| 5,ll,hh
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IX]
 
| A,[IX]
| 16
+
| 6
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 1
 
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IY]
 
| A,[IY]
| 17
+
| 7
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 1
 
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IX+dd]
 
| A,[IX+dd]
| CE,10,dd
+
| CE, 0,dd
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IY+dd]
 
| A,[IY+dd]
| CE,11,dd
+
| CE, 1,dd
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IX+L]
 
| A,[IX+L]
| CE,12
+
| CE, 2
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
 
| A,[IY+L]
 
| A,[IY+L]
| CE,13
+
| CE, 3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="4" | [[S1C88_ADD|ADD]]
 +
| [HL],A
 +
| CE, 4
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| rowspan="3" | [[S1C88_SUB|SUB]]
+
| [HL],#nn
| IX,#mmnn
+
| CE, 5,nn
| D2,nn,mm
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| IX,BA
+
| [HL],[IX]
| CE,48
+
| CE, 6
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| IX,HL
+
| [HL],[IY]
| CE,49
+
| CE, 7
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|}
 +
 
 +
== '''ADC''': Addition with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 
|-
 
|-
| rowspan="5" | [[S1C88_SUB|SUB]]
+
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
| BA,#mmnn
+
|-
| D0,nn,mm
+
| rowspan="12" | [[S1C88_ADC|ADC]]
 +
| A,A
 +
| 8
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 3
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| BA,BA
+
| A,B
| CE, 8
+
| 9
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| BA,HL
+
| A,#nn
| CE, 9
+
| A,nn
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| BA,IX
+
| A,[HL]
| CE, A
+
| B
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| BA,IY
+
| A,[BR:ll]
| CE, B
+
| C,ll
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| rowspan="3" | [[S1C88_SUB|SUB]]
+
| A,[hhll]
| SP,BA
+
| D,ll,hh
| CE,4C
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| SP,HL
+
| A,[IX]
| CE,4D
+
| E
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| SP,#mmnn
+
| A,[IY]
| CE,6A,nn,mm
+
| F
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 4
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| rowspan="4" | [[S1C88_SUB|SUB]]
+
| A,[IX+dd]
| [HL],A
+
| CE, 8,dd
| CE,14
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [HL],#nn
+
| A,[IY+dd]
| CE,15,nn
+
| CE, 9,dd
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [HL],[IX]
+
| A,[IX+L]
| CE,16
+
| CE, A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY+L]
 +
| CE, B
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [HL],[IY]
+
| rowspan="4" | [[S1C88_ADC|ADC]]
| CE,17
+
| [HL],A
 +
| CE, C
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| rowspan="3" | [[S1C88_SUB|SUB]]
+
| [HL],#nn
| IY,#mmnn
+
| CE, D,nn
| D3,nn,mm
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| IY,BA
+
| [HL],[IX]
| CE,4A
+
| CE, E
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| IY,HL
+
| [HL],[IY]
| CE,4B
+
| CE, F
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| rowspan="5" | [[S1C88_SUB|SUB]]
+
|}
| HL,#mmnn
+
 
| D1,nn,mm
+
== '''SUB''': Subtraction ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_SUB|SUB]]
 +
| A,A
 +
| 10
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 3
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| HL,BA
+
| A,B
| CE,28
+
| 11
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| HL,HL
+
| A,#nn
| CE,29
+
| 12,nn
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| HL,IX
+
| A,[HL]
| CE,2A
+
| 13
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| HL,IY
+
| A,[BR:ll]
| CE,2B
+
| 14,ll
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
|}
+
| A,[hhll]
 
+
| 15,ll,hh
== '''SBC''': Subtraction with carry ==
 
== '''AND''': Logical product ==
 
== '''OR''': Logical sum ==
 
== '''XOR''': Exclusive OR ==
 
== '''CP''': Comparison ==
 
== '''BIT''': Bit test ==
 
== '''INC''': 1 increment ==
 
== '''DEC''': 1 decrement ==
 
== '''MLT''': Multiplication ==
 
== '''DIV''': Division ==
 
== '''CPL''': Complement of 1 ==
 
{| class="wikitable sortable"
 
| [[S1C88_CPL|CPL]]
 
| A
 
| CE,A0
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_CPL|CPL]]
+
| A,[IX]
| B
+
| 16
| CE,A1
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_CPL|CPL]]
+
| A,[IY]
| [HL]
+
| 17
| CE,A3
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_CPL|CPL]]
+
| A,[IX+dd]
| [BR:ll]
+
| CE,10,dd
| CE,A2,ll
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
|}
+
| A,[IY+dd]
 
+
| CE,11,dd
== '''NEG''': Complement of 2 ==
+
| ?PSEUDOCODE
{| class="wikitable sortable"
+
| ?CYCLES
| [[S1C88_NEG|NEG]]
+
| 3
| A
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
| CE,A4
+
|-
 +
| A,[IX+L]
 +
| CE,12
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_NEG|NEG]]
+
| A,[IY+L]
| B
+
| CE,13
| CE,A5
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_NEG|NEG]]
+
| rowspan="4" | [[S1C88_SUB|SUB]]
| [HL]
+
| [HL],A
| CE,A7
+
| CE,14
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_NEG|NEG]]
+
| [HL],#nn
| [BR:ll]
+
| CE,15,nn
| CE,A6,ll
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 3
 
| 3
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
|}
+
| [HL],[IX]
 
+
| CE,16
= 8-bit transfer =
+
| ?PSEUDOCODE
== '''LD''': Load ==
 
== '''EX''': Byte exchange ==
 
== '''SWAP''': Nibble exchange ==
 
 
 
= Rotate/shift =
 
== '''RL''': Rotate to left ==
 
== '''RLC''': Rotate to left with carry ==
 
== '''RR''': Rotate to right ==
 
== '''RRC''': Rotate to right with carry ==
 
== '''SLA''': Arithmetic shift to left ==
 
== '''SLL''': Logical shift to left ==
 
== '''SRA''': Arithmetic shift to right ==
 
{| class="wikitable sortable"
 
| [[S1C88_SRA|SRA]]
 
| A
 
| CE,88
 
| ?PSEUDOCODE
 
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_SRA|SRA]]
+
| [HL],[IY]
| B
+
| CE,17
| CE,89
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|}
 +
 
 +
== '''SBC''': Subtraction with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 
|-
 
|-
| [[S1C88_SRA|SRA]]
+
| rowspan="12" | [[S1C88_SBC|SBC]]
| [HL]
+
| A,A
| CE,8B
+
| 18
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 2
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_SRA|SRA]]
+
| A,B
| [BR:ll]
+
| 19
| CE,8A,ll
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
| 3
+
| 1
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
|}
+
| A,#nn
 
+
| 1A,nn
== '''SRL''': Logical shift to right ==
 
 
 
= Auxiliary operation =
 
== '''PACK''': Pack ==
 
== '''UPCK''': Unpack ==
 
== '''SEP''': Code extension ==
 
 
 
= 16-bit arithmetic operation =
 
== '''ADD''': Addition ==
 
== '''ADC''': Addition with carry ==
 
== '''SUB''': Subtraction ==
 
== '''SBC''': Subtraction with carry ==
 
== '''CP''': Comparison ==
 
== '''INC''': 1 increment ==
 
== '''DEC''': 1 decrement ==
 
 
 
= 16-bit transfer =
 
== '''LD''': Load ==
 
== '''EX''': Word exchange ==
 
 
 
= Stack Control =
 
== '''PUSH''': Push ==
 
== '''POP''': Pop ==
 
 
 
= Branch =
 
== '''JRS''': Relative short jump ==
 
== '''JRL''': Relative long jump ==
 
== '''JP''': Indirect jump ==
 
{| class="wikitable sortable"
 
| [[S1C88_JP|JP]]
 
| [kk]
 
| FD,kk
 
 
| ?PSEUDOCODE
 
| ?PSEUDOCODE
 
| ?CYCLES
 
| ?CYCLES
 
| 2
 
| 2
| ?FLAGS
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 
|-
 
|-
| [[S1C88_JP|JP]]
+
| A,[HL]
| HL
+
| 1B
| F4
+
| ?PSEUDOCODE
| ?PSEUDOCODE
+
| ?CYCLES
| ?CYCLES
+
| 1
| 1
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
| ?FLAGS
+
|-
|-
+
| A,[BR:ll]
|}
+
| 1C,ll
 
+
| ?PSEUDOCODE
== '''DJR''': Loop ==
+
| ?CYCLES
== '''CARS''': Relative short call ==
+
| 2
== '''CARL''': Relative long call ==
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
== '''CALL''': Indirect call ==
+
|-
== '''RET''': Return ==
+
| A,[hhll]
== '''RETE''': Exception processing return ==
+
| 1D,ll,hh
== '''RETS''': Return and skip ==
+
| ?PSEUDOCODE
== '''INT''': Software interrupt ==
+
| ?CYCLES
 
+
| 3
= System Control =
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
== '''NOP''': No operation ==
+
|-
== '''HALT''': Shifts to HALT status ==
+
| A,[IX]
== '''SLP''': Shifts to SLEEP status ==
+
| 1E
 
+
| ?PSEUDOCODE
= Operation Code Map =
+
| ?CYCLES
== 1st operation code ==
+
| 1
{| class="wikitable"
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
|
+
|-
| x0
+
| A,[IY]
| x1
+
| 1F
| x2
+
| ?PSEUDOCODE
| x3
+
| ?CYCLES
| x4
+
| 1
| x5
+
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
| x6
+
|-
| x7
+
| A,[IX+dd]
| x8
+
| CE,18,dd
| x9
+
| ?PSEUDOCODE
| xA
+
| ?CYCLES
 +
| 3
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY+dd]
 +
| CE,19,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IX+L]
 +
| CE,1A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY+L]
 +
| CE,1B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="4" | [[S1C88_SBC|SBC]]
 +
| [HL],A
 +
| CE,1C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],#nn
 +
| CE,1D,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],[IX]
 +
| CE,1E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],[IY]
 +
| CE,1F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
 
 +
 
 +
== '''AND''': Logical product ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_AND|AND]]
 +
| A,A
 +
| 20
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,B
 +
| 21
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,#nn
 +
| 22,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[HL]
 +
| 23
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[BR:ll]
 +
| 24,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[hhll]
 +
| 25,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IX]
 +
| 26
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IY]
 +
| 27
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IX+dd]
 +
| CE,20,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IY+dd]
 +
| CE,21,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IX+L]
 +
| CE,22
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| A,[IY+L]
 +
| CE,23
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [[S1C88_AND|AND]]
 +
| B,#nn
 +
| CE,B0,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [[S1C88_AND|AND]]
 +
| H,#nn
 +
| CE,B2,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [[S1C88_AND|AND]]
 +
| [BR:ll],#nn
 +
| D8,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| rowspan="4" | [[S1C88_AND|AND]]
 +
| [HL],A
 +
| CE,24
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [HL],#nn
 +
| CE,25,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [HL],[IX]
 +
| CE,26
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [HL],[IY]
 +
| CE,27
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [[S1C88_AND|AND]]
 +
| L,#nn
 +
| CE,B1,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↓ || – || – || ↓
 +
|-
 +
| [[S1C88_AND|AND]]
 +
| SC,#nn
 +
| 9C,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| ↓ || ↓ || ↓ || ↓ || ↓ || ↓ || ↓ || ↓
 +
|-
 +
|}
 +
 
 +
== '''OR''': Logical sum ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_OR|OR]]
 +
| A,A
 +
| 28
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,B
 +
| 29
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,#nn
 +
| 2A,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[HL]
 +
| 2B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[BR:ll]
 +
| 2C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[hhll]
 +
| 2D,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IX]
 +
| 2E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IY]
 +
| 2F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IX+dd]
 +
| CE,28,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IY+dd]
 +
| CE,29,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IX+L]
 +
| CE,2A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| A,[IY+L]
 +
| CE,2B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [[S1C88_OR|OR]]
 +
| B,#nn
 +
| CE,B4,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [[S1C88_OR|OR]]
 +
| H,#nn
 +
| CE,B6,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [[S1C88_OR|OR]]
 +
| [BR:ll],#nn
 +
| D9,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| rowspan="4" | [[S1C88_OR|OR]]
 +
| [HL],A
 +
| CE,2C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [HL],#nn
 +
| CE,2D,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [HL],[IX]
 +
| CE,2E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [HL],[IY]
 +
| CE,2F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [[S1C88_OR|OR]]
 +
| L,#nn
 +
| CE,B5,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↑ || – || – || ↑
 +
|-
 +
| [[S1C88_OR|OR]]
 +
| SC,#nn
 +
| 9D,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| ↑ || ↑ || ↑ || ↑ || ↑ || ↑ || ↑ || ↑
 +
|-
 +
|}
 +
 
 +
== '''XOR''': Exclusive OR ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_XOR|XOR]]
 +
| A,A
 +
| 38
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,B
 +
| 39
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,#nn
 +
| 3A,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[HL]
 +
| 3B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[BR:ll]
 +
| 3C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[hhll]
 +
| 3D,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IX]
 +
| 3E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IY]
 +
| 3F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IX+dd]
 +
| CE,38,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IY+dd]
 +
| CE,39,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IX+L]
 +
| CE,3A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,[IY+L]
 +
| CE,3B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_XOR|XOR]]
 +
| B,#nn
 +
| CE,B8,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_XOR|XOR]]
 +
| H,#nn
 +
| CE,BA,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_XOR|XOR]]
 +
| [BR:ll],#nn
 +
| DA,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| rowspan="4" | [[S1C88_XOR|XOR]]
 +
| [HL],A
 +
| CE,3C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [HL],#nn
 +
| CE,3D,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [HL],[IX]
 +
| CE,3E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [HL],[IY]
 +
| CE,3F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_XOR|XOR]]
 +
| L,#nn
 +
| CE,B9,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_XOR|XOR]]
 +
| SC,#nn
 +
| 9E,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''CP''': Comparison ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="12" | [[S1C88_CP|CP]]
 +
| A,A
 +
| 30
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,B
 +
| 31
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,#nn
 +
| 32,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[HL]
 +
| 33
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[BR:ll]
 +
| 34,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[hhll]
 +
| 35,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IX]
 +
| 36
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY]
 +
| 37
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IX+dd]
 +
| CE,30,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY+dd]
 +
| CE,31,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IX+L]
 +
| CE,32
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| A,[IY+L]
 +
| CE,33
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| B,#nn
 +
| CE,BC,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| H,#nn
 +
| CE,BE,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| BR,#hh
 +
| CE,BF,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| [BR:ll],#nn
 +
| DB,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="4" | [[S1C88_CP|CP]]
 +
| [HL],A
 +
| CE,34
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],#nn
 +
| CE,35,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],[IX]
 +
| CE,36
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [HL],[IY]
 +
| CE,37
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| L,#nn
 +
| CE,BD,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''BIT''': Bit test ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="2" | [[S1C88_BIT|BIT]]
 +
| A,B
 +
| 94
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| A,#nn
 +
| 96,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_BIT|BIT]]
 +
| B,#nn
 +
| 97,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_BIT|BIT]]
 +
| [HL],#nn
 +
| 95,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_BIT|BIT]]
 +
| [BR:ll],#nn
 +
| DC,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
|}
 +
 
 +
== '''INC''': 1 increment ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| A
 +
| 80
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| B
 +
| 81
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| H
 +
| 83
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| [BR:ll]
 +
| 85,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| [HL]
 +
| 86
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| L
 +
| 82
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| BR
 +
| 84
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
|}
 +
 
 +
== '''DEC''': 1 decrement ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| A
 +
| 88
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| B
 +
| 89
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| H
 +
| 8B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| [BR:ll]
 +
| 8D,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| [HL]
 +
| 8E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| L
 +
| 8A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| BR
 +
| 8C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
|}
 +
 
 +
== '''MLT''': Multiplication ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_MLT|MLT]]
 +
|
 +
| CE,D8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || 0 || 0 || ↕
 +
|-
 +
|}
 +
 
 +
== '''DIV''': Division ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_DIV|DIV]]
 +
|
 +
| CE,D9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || 0 || ↕
 +
|-
 +
|}
 +
 
 +
== '''CPL''': Complement of 1 ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_CPL|CPL]]
 +
| A
 +
| CE,A0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_CPL|CPL]]
 +
| B
 +
| CE,A1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_CPL|CPL]]
 +
| [HL]
 +
| CE,A3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
| [[S1C88_CPL|CPL]]
 +
| [BR:ll]
 +
| CE,A2,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || – || ↕
 +
|-
 +
|}
 +
 
 +
== '''NEG''': Complement of 2 ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_NEG|NEG]]
 +
| A
 +
| CE,A4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_NEG|NEG]]
 +
| B
 +
| CE,A5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_NEG|NEG]]
 +
| [HL]
 +
| CE,A7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_NEG|NEG]]
 +
| [BR:ll]
 +
| CE,A6,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || ★ || ★ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
= 8-bit transfer =
 +
== '''LD''': Load ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="11" | [[S1C88_LD|LD]]
 +
| IY,[hhll]
 +
| BB,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,#mmnn
 +
| C7,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,[SP+dd]
 +
| CE,73,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,[HL]
 +
| CE,C3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,[IX]
 +
| CE,D3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,[IY]
 +
| CE,DB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,BA
 +
| CE,EC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,HL
 +
| CE,ED
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,IX
 +
| CE,EE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,IY
 +
| CE,EF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IY,SP
 +
| CE,FE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="6" | [[S1C88_LD|LD]]
 +
| SP,#mmnn
 +
| CE,6E,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| SP,[hhll]
 +
| CE,78,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| SP,BA
 +
| CE,F0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| SP,HL
 +
| CE,F1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| SP,IX
 +
| CE,F2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| SP,IY
 +
| CE,F3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="12" | [[S1C88_LD|LD]]
 +
| BA,[hhll]
 +
| B8,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,#mmnn
 +
| C4,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,[SP+dd]
 +
| CE,70,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,[HL]
 +
| CE,C0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,[IX]
 +
| CE,D0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,[IY]
 +
| CE,D8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,BA
 +
| CE,E0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,HL
 +
| CE,E1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,IX
 +
| CE,E2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,IY
 +
| CE,E3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,SP
 +
| CE,F8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BA,PC
 +
| CE,F9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| BR,#hh
 +
| B4,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| BR,A
 +
| CE,C2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IX+L],A
 +
| CE,46
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+L],B
 +
| CE,4E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+L],L
 +
| CE,56
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+L],H
 +
| CE,5E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="12" | [[S1C88_LD|LD]]
 +
| HL,[hhll]
 +
| B9,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,#mmnn
 +
| C5,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,[SP+dd]
 +
| CE,71,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,[HL]
 +
| CE,C1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,[IX]
 +
| CE,D1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,[IY]
 +
| CE,D9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,BA
 +
| CE,E4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,HL
 +
| CE,E5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,IX
 +
| CE,E6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,IY
 +
| CE,E7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,SP
 +
| CE,F4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| HL,PC
 +
| CE,F5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IY+L],A
 +
| CE,47
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+L],B
 +
| CE,4F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+L],L
 +
| CE,57
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+L],H
 +
| CE,5F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| YP,#pp
 +
| CE,C7,pp
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| YP,A
 +
| CE,CF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="17" | [[S1C88_LD|LD]]
 +
| [IY],A
 +
| 70
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],B
 +
| 71
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],L
 +
| 72
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],H
 +
| 73
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[BR:ll]
 +
| 74,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[HL]
 +
| 75
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IX]
 +
| 76
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IY]
 +
| 77
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],#nn
 +
| B7,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IX+dd]
 +
| CE,78,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IY+dd]
 +
| CE,79,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IX+L]
 +
| CE,7A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],[IY+L]
 +
| CE,7B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],BA
 +
| CE,DC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],HL
 +
| CE,DD
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],IX
 +
| CE,DE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY],IY
 +
| CE,DF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="8" | [[S1C88_LD|LD]]
 +
| [BR:ll],A
 +
| 78,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],B
 +
| 79,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],L
 +
| 7A,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],H
 +
| 7B,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],[HL]
 +
| 7D,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],[IX]
 +
| 7E,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],[IY]
 +
| 7F,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [BR:ll],#nn
 +
| DD,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [SP+dd],BA
 +
| CE,74,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [SP+dd],HL
 +
| CE,75,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [SP+dd],IX
 +
| CE,76,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [SP+dd],IY
 +
| CE,77,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IY+dd],A
 +
| CE,45,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+dd],B
 +
| CE,4D,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+dd],L
 +
| CE,55,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IY+dd],H
 +
| CE,5D,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="20" | [[S1C88_LD|LD]]
 +
| A,A
 +
| 40
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,B
 +
| 41
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,L
 +
| 42
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,H
 +
| 43
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[BR:ll]
 +
| 44,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[HL]
 +
| 45
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IX]
 +
| 46
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IY]
 +
| 47
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,#nn
 +
| B0,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IX+dd]
 +
| CE,40,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IY+dd]
 +
| CE,41,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IX+L]
 +
| CE,42
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[IY+L]
 +
| CE,43
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,BR
 +
| CE,C0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,SC
 +
| CE,C1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,NB
 +
| CE,C8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,EP
 +
| CE,C9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,XP
 +
| CE,CA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,YP
 +
| CE,CB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[hhll]
 +
| CE,D0,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="11" | [[S1C88_LD|LD]]
 +
| IX,[hhll]
 +
| BA,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,#mmnn
 +
| C6,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,[SP+dd]
 +
| CE,72,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,[HL]
 +
| CE,C2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,[IX]
 +
| CE,D2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,[IY]
 +
| CE,DA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,BA
 +
| CE,E8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,HL
 +
| CE,E9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,IX
 +
| CE,EA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,IY
 +
| CE,EB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| IX,SP
 +
| CE,FA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| B,A
 +
| 48
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,B
 +
| 49
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,L
 +
| 4A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,H
 +
| 4B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[BR:ll]
 +
| 4C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[HL]
 +
| 4D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IX]
 +
| 4E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IY]
 +
| 4F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,#nn
 +
| B1,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IX+dd]
 +
| CE,48,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IY+dd]
 +
| CE,49,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IX+L]
 +
| CE,4A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[IY+L]
 +
| CE,4B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| B,[hhll]
 +
| CE,D1,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| H,A
 +
| 58
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,B
 +
| 59
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,L
 +
| 5A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,H
 +
| 5B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[BR:ll]
 +
| 5C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[HL]
 +
| 5D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IX]
 +
| 5E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IY]
 +
| 5F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,#nn
 +
| B3,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IX+dd]
 +
| CE,58,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IY+dd]
 +
| CE,59,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IX+L]
 +
| CE,5A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[IY+L]
 +
| CE,5B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| H,[hhll]
 +
| CE,D3,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="17" | [[S1C88_LD|LD]]
 +
| [HL],A
 +
| 68
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],B
 +
| 69
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],L
 +
| 6A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],H
 +
| 6B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[BR:ll]
 +
| 6C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[HL]
 +
| 6D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IX]
 +
| 6E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IY]
 +
| 6F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],#nn
 +
| B5,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IX+dd]
 +
| CE,60,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IY+dd]
 +
| CE,61,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IX+L]
 +
| CE,62
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],[IY+L]
 +
| CE,63
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],BA
 +
| CE,C4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],HL
 +
| CE,C5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],IX
 +
| CE,C6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [HL],IY
 +
| CE,C7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| L,A
 +
| 50
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,B
 +
| 51
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,L
 +
| 52
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,H
 +
| 53
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[BR:ll]
 +
| 54,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[HL]
 +
| 55
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IX]
 +
| 56
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IY]
 +
| 57
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,#nn
 +
| B2,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IX+dd]
 +
| CE,50,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IY+dd]
 +
| CE,51,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IX+L]
 +
| CE,52
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[IY+L]
 +
| CE,53
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| L,[hhll]
 +
| CE,D2,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="9" | [[S1C88_LD|LD]]
 +
| [hhll],BA
 +
| BC,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],HL
 +
| BD,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],IX
 +
| BE,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],IY
 +
| BF,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],A
 +
| CE,D4,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],B
 +
| CE,D5,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],L
 +
| CE,D6,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],H
 +
| CE,D7,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [hhll],SP
 +
| CE,7C,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| XP,#pp
 +
| CE,C6,pp
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| XP,A
 +
| CE,CE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| EP,#pp
 +
| CE,C5,pp
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| EP,A
 +
| CE,CD
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="17" | [[S1C88_LD|LD]]
 +
| [IX],A
 +
| 60
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],B
 +
| 61
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],L
 +
| 62
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],H
 +
| 63
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[BR:ll]
 +
| 64,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[HL]
 +
| 65
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IX]
 +
| 66
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IY]
 +
| 67
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],#nn
 +
| B6,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IX+dd]
 +
| CE,68,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IY+dd]
 +
| CE,69,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IX+L]
 +
| CE,6A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],[IY+L]
 +
| CE,6B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],BA
 +
| CE,D4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],HL
 +
| CE,D5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],IX
 +
| CE,D6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX],IY
 +
| CE,D7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IX+dd],A
 +
| CE,44,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+dd],B
 +
| CE,4C,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+dd],L
 +
| CE,54,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [IX+dd],H
 +
| CE,5C,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| SC,#nn
 +
| 9F,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SC,A
 +
| CE,C3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| NB,#bb
 +
| CE,C4,bb
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| NB,A
 +
| CE,CC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
|}
 +
 
 +
== '''EX''': Byte exchange ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="2" | [[S1C88_EX|EX]]
 +
| A,B
 +
| CC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| A,[HL]
 +
| CD
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|}
 +
 
 +
== '''SWAP''': Nibble exchange ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SWAP|SWAP]]
 +
| A
 +
| F6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
| [[S1C88_SWAP|SWAP]]
 +
| [HL]
 +
| F7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – ||  – ||  – ||  – ||  – ||  – || –
 +
|-
 +
|}
 +
 
 +
= Rotate/shift =
 +
== '''RL''': Rotate to left ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_RL|RL]]
 +
| A
 +
| CE,90
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RL|RL]]
 +
| B
 +
| CE,91
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RL|RL]]
 +
| [HL]
 +
| CE,93
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RL|RL]]
 +
| [BR:ll]
 +
| CE,92,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''RLC''': Rotate to left with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_RLC|RLC]]
 +
| A
 +
| CE,94
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RLC|RLC]]
 +
| B
 +
| CE,95
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RLC|RLC]]
 +
| [HL]
 +
| CE,97
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RLC|RLC]]
 +
| [BR:ll]
 +
| CE,96,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''RR''': Rotate to right ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_RR|RR]]
 +
| A
 +
| CE,98
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RR|RR]]
 +
| B
 +
| CE,99
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RR|RR]]
 +
| [HL]
 +
| CE,9B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RR|RR]]
 +
| [BR:ll]
 +
| CE,9A,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''RRC''': Rotate to right with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_RRC|RRC]]
 +
| A
 +
| CE,9C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RRC|RRC]]
 +
| B
 +
| CE,9D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RRC|RRC]]
 +
| [HL]
 +
| CE,9F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_RRC|RRC]]
 +
| [BR:ll]
 +
| CE,9E,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SLA''': Arithmetic shift to left ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SLA|SLA]]
 +
| A
 +
| CE,80
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_SLA|SLA]]
 +
| B
 +
| CE,81
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_SLA|SLA]]
 +
| [HL]
 +
| CE,83
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_SLA|SLA]]
 +
| [BR:ll]
 +
| CE,82,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SLL''': Logical shift to left ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SLL|SLL]]
 +
| A
 +
| CE,84
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SLL|SLL]]
 +
| B
 +
| CE,85
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SLL|SLL]]
 +
| [HL]
 +
| CE,87
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SLL|SLL]]
 +
| [BR:ll]
 +
| CE,86,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SRA''': Arithmetic shift to right ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SRA|SRA]]
 +
| A
 +
| CE,88
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || 0 || ↕ || ↕
 +
|-
 +
| [[S1C88_SRA|SRA]]
 +
| B
 +
| CE,89
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || 0 || ↕ || ↕
 +
|-
 +
| [[S1C88_SRA|SRA]]
 +
| [HL]
 +
| CE,8B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || 0 || ↕ || ↕
 +
|-
 +
| [[S1C88_SRA|SRA]]
 +
| [BR:ll]
 +
| CE,8A,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || 0 || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SRL''': Logical shift to right ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SRL|SRL]]
 +
| A
 +
| CE,8C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || 0 || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SRL|SRL]]
 +
| B
 +
| CE,8D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || 0 || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SRL|SRL]]
 +
| [HL]
 +
| CE,8F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || 0 || – || ↕ || ↕
 +
|-
 +
| [[S1C88_SRL|SRL]]
 +
| [BR:ll]
 +
| CE,8E,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || 0 || – || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
= Auxiliary operation =
 +
== '''PACK''': Pack ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_PACK|PACK]]
 +
|
 +
| DE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
|}
 +
 
 +
== '''UPCK''': Unpack ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_UPCK|UPCK]]
 +
|
 +
| DF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
|}
 +
 
 +
== '''SEP''': Code extension ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_SEP|SEP]]
 +
|
 +
| CE,A8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
|}
 +
 
 +
= 16-bit arithmetic operation =
 +
== '''ADD''': Addition ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="3" | [[S1C88_ADD|ADD]]
 +
| IX,#mmnn
 +
| C2,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IX,BA
 +
| CE,40
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IX,HL
 +
| CE,41
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_ADD|ADD]]
 +
| BA,#mmnn
 +
| C0,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,BA
 +
| CE, 0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,HL
 +
| CE, 1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IX
 +
| CE, 2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IY
 +
| CE, 3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="3" | [[S1C88_ADD|ADD]]
 +
| SP,BA
 +
| CE,44
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,HL
 +
| CE,45
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,#mmnn
 +
| CE,68,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="3" | [[S1C88_ADD|ADD]]
 +
| IY,#mmnn
 +
| C3,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IY,BA
 +
| CE,42
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IY,HL
 +
| CE,43
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_ADD|ADD]]
 +
| HL,#mmnn
 +
| C1,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,BA
 +
| CE,20
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,HL
 +
| CE,21
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IX
 +
| CE,22
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IY
 +
| CE,23
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''ADC''': Addition with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="5" | [[S1C88_ADC|ADC]]
 +
| BA,BA
 +
| CE, 4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,HL
 +
| CE, 5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IX
 +
| CE, 6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IY
 +
| CE, 7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,#mmnn
 +
| CE,60,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_ADC|ADC]]
 +
| HL,BA
 +
| CE,24
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,HL
 +
| CE,25
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IX
 +
| CE,26
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IY
 +
| CE,27
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,#mmnn
 +
| CE,61,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SUB''': Subtraction ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="3" | [[S1C88_SUB|SUB]]
 +
| IX,#mmnn
 +
| D2,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IX,BA
 +
| CE,48
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IX,HL
 +
| CE,49
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_SUB|SUB]]
 +
| BA,#mmnn
 +
| D0,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,BA
 +
| CE, 8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,HL
 +
| CE, 9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IX
 +
| CE, A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IY
 +
| CE, B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="3" | [[S1C88_SUB|SUB]]
 +
| SP,BA
 +
| CE,4C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,HL
 +
| CE,4D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,#mmnn
 +
| CE,6A,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="3" | [[S1C88_SUB|SUB]]
 +
| IY,#mmnn
 +
| D3,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IY,BA
 +
| CE,4A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| IY,HL
 +
| CE,4B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_SUB|SUB]]
 +
| HL,#mmnn
 +
| D1,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,BA
 +
| CE,28
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,HL
 +
| CE,29
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IX
 +
| CE,2A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IY
 +
| CE,2B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''SBC''': Subtraction with carry ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="5" | [[S1C88_SBC|SBC]]
 +
| BA,BA
 +
| CE, C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,HL
 +
| CE, D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IX
 +
| CE, E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IY
 +
| CE, F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,#mmnn
 +
| CE,62,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_SBC|SBC]]
 +
| HL,BA
 +
| CE,2C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,HL
 +
| CE,2D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IX
 +
| CE,2E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IY
 +
| CE,2F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,#mmnn
 +
| CE,63,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''CP''': Comparison ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| IX,#mmnn
 +
| D6,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_CP|CP]]
 +
| BA,#mmnn
 +
| D4,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,BA
 +
| CE,18
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,HL
 +
| CE,19
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IX
 +
| CE,1A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| BA,IY
 +
| CE,1B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| [[S1C88_CP|CP]]
 +
| IY,#mmnn
 +
| D7,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="5" | [[S1C88_CP|CP]]
 +
| HL,#mmnn
 +
| D5,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,BA
 +
| CE,38
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,HL
 +
| CE,39
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IX
 +
| CE,3A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| HL,IY
 +
| CE,3B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| rowspan="3" | [[S1C88_CP|CP]]
 +
| SP,BA
 +
| CE,5C
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,HL
 +
| CE,5D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
| SP,#mmnn
 +
| CE,6C,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || ↕ || ↕ || ↕ || ↕
 +
|-
 +
|}
 +
 
 +
== '''INC''': 1 increment ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| IX
 +
| 92
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| BA
 +
| 90
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| HL
 +
| 91
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| IY
 +
| 93
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_INC|INC]]
 +
| SP
 +
| 87
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
|}
 +
 
 +
== '''DEC''': 1 decrement ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| IX
 +
| 9A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| BA
 +
| 98
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| HL
 +
| 99
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| IY
 +
| 9B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
| [[S1C88_DEC|DEC]]
 +
| SP
 +
| 8F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || ↕
 +
|-
 +
|}
 +
 
 +
= 16-bit transfer =
 +
== '''LD''': Load ==
 +
{| class="wikitable sortable"
 +
! rowspan="2" colspan="2" | Mnemonic
 +
! rowspan="2" | Machine Code
 +
! rowspan="2" | Operation
 +
! rowspan="2" | Cycles
 +
! rowspan="2" | Bytes
 +
! colspan="8" | SC
 +
|-
 +
! I1 !! I0 !! U !! D !! N !! V !! C !! Z
 +
|-
 +
| rowspan="11" | [[S1C88_LD|LD]]
 +
| IY,[hhll]
 +
| BB,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,#mmnn
 +
| C7,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,[SP+dd]
 +
| CE,73,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,[HL]
 +
| CE,C3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,[IX]
 +
| CE,D3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,[IY]
 +
| CE,DB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,BA
 +
| CE,EC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,HL
 +
| CE,ED
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,IX
 +
| CE,EE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,IY
 +
| CE,EF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IY,SP
 +
| CE,FE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="6" | [[S1C88_LD|LD]]
 +
| SP,#mmnn
 +
| CE,6E,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| SP,[hhll]
 +
| CE,78,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| SP,BA
 +
| CE,F0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| SP,HL
 +
| CE,F1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| SP,IX
 +
| CE,F2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| SP,IY
 +
| CE,F3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="12" | [[S1C88_LD|LD]]
 +
| BA,[hhll]
 +
| B8,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,#mmnn
 +
| C4,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,[SP+dd]
 +
| CE,70,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,[HL]
 +
| CE,C0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,[IX]
 +
| CE,D0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,[IY]
 +
| CE,D8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,BA
 +
| CE,E0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,HL
 +
| CE,E1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,IX
 +
| CE,E2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,IY
 +
| CE,E3
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,SP
 +
| CE,F8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BA,PC
 +
| CE,F9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| BR,#hh
 +
| B4,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| BR,A
 +
| CE,C2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IX+L],A
 +
| CE,46
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IX+L],B
 +
| CE,4E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IX+L],L
 +
| CE,56
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IX+L],H
 +
| CE,5E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="12" | [[S1C88_LD|LD]]
 +
| HL,[hhll]
 +
| B9,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,#mmnn
 +
| C5,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,[SP+dd]
 +
| CE,71,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,[HL]
 +
| CE,C1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,[IX]
 +
| CE,D1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,[IY]
 +
| CE,D9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,BA
 +
| CE,E4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,HL
 +
| CE,E5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,IX
 +
| CE,E6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,IY
 +
| CE,E7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,SP
 +
| CE,F4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| HL,PC
 +
| CE,F5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IY+L],A
 +
| CE,47
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+L],B
 +
| CE,4F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+L],L
 +
| CE,57
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+L],H
 +
| CE,5F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="2" | [[S1C88_LD|LD]]
 +
| YP,#pp
 +
| CE,C7,pp
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| YP,A
 +
| CE,CF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="17" | [[S1C88_LD|LD]]
 +
| [IY],A
 +
| 70
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],B
 +
| 71
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],L
 +
| 72
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],H
 +
| 73
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[BR:ll]
 +
| 74,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[HL]
 +
| 75
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IX]
 +
| 76
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IY]
 +
| 77
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],#nn
 +
| B7,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IX+dd]
 +
| CE,78,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IY+dd]
 +
| CE,79,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IX+L]
 +
| CE,7A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],[IY+L]
 +
| CE,7B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],BA
 +
| CE,DC
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],HL
 +
| CE,DD
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],IX
 +
| CE,DE
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY],IY
 +
| CE,DF
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="8" | [[S1C88_LD|LD]]
 +
| [BR:ll],A
 +
| 78,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],B
 +
| 79,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],L
 +
| 7A,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],H
 +
| 7B,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],[HL]
 +
| 7D,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],[IX]
 +
| 7E,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],[IY]
 +
| 7F,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [BR:ll],#nn
 +
| DD,ll,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [SP+dd],BA
 +
| CE,74,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [SP+dd],HL
 +
| CE,75,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [SP+dd],IX
 +
| CE,76,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [SP+dd],IY
 +
| CE,77,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="4" | [[S1C88_LD|LD]]
 +
| [IY+dd],A
 +
| CE,45,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+dd],B
 +
| CE,4D,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+dd],L
 +
| CE,55,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [IY+dd],H
 +
| CE,5D,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="20" | [[S1C88_LD|LD]]
 +
| A,A
 +
| 40
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,B
 +
| 41
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,L
 +
| 42
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,H
 +
| 43
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[BR:ll]
 +
| 44,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[HL]
 +
| 45
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IX]
 +
| 46
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IY]
 +
| 47
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,#nn
 +
| B0,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IX+dd]
 +
| CE,40,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IY+dd]
 +
| CE,41,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IX+L]
 +
| CE,42
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[IY+L]
 +
| CE,43
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,BR
 +
| CE,C0
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,SC
 +
| CE,C1
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,NB
 +
| CE,C8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,EP
 +
| CE,C9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,XP
 +
| CE,CA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,YP
 +
| CE,CB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| A,[hhll]
 +
| CE,D0,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="11" | [[S1C88_LD|LD]]
 +
| IX,[hhll]
 +
| BA,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,#mmnn
 +
| C6,nn,mm
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,[SP+dd]
 +
| CE,72,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,[HL]
 +
| CE,C2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,[IX]
 +
| CE,D2
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,[IY]
 +
| CE,DA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,BA
 +
| CE,E8
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,HL
 +
| CE,E9
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,IX
 +
| CE,EA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,IY
 +
| CE,EB
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| IX,SP
 +
| CE,FA
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| B,A
 +
| 48
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,B
 +
| 49
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,L
 +
| 4A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,H
 +
| 4B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[BR:ll]
 +
| 4C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[HL]
 +
| 4D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IX]
 +
| 4E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IY]
 +
| 4F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,#nn
 +
| B1,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IX+dd]
 +
| CE,48,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IY+dd]
 +
| CE,49,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IX+L]
 +
| CE,4A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[IY+L]
 +
| CE,4B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| B,[hhll]
 +
| CE,D1,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| H,A
 +
| 58
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,B
 +
| 59
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,L
 +
| 5A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,H
 +
| 5B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[BR:ll]
 +
| 5C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[HL]
 +
| 5D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IX]
 +
| 5E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IY]
 +
| 5F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,#nn
 +
| B3,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IX+dd]
 +
| CE,58,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IY+dd]
 +
| CE,59,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IX+L]
 +
| CE,5A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[IY+L]
 +
| CE,5B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| H,[hhll]
 +
| CE,D3,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="17" | [[S1C88_LD|LD]]
 +
| [HL],A
 +
| 68
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],B
 +
| 69
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],L
 +
| 6A
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],H
 +
| 6B
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[BR:ll]
 +
| 6C,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[HL]
 +
| 6D
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IX]
 +
| 6E
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IY]
 +
| 6F
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],#nn
 +
| B5,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IX+dd]
 +
| CE,60,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IY+dd]
 +
| CE,61,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IX+L]
 +
| CE,62
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],[IY+L]
 +
| CE,63
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],BA
 +
| CE,C4
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],HL
 +
| CE,C5
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],IX
 +
| CE,C6
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| [HL],IY
 +
| CE,C7
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="14" | [[S1C88_LD|LD]]
 +
| L,A
 +
| 50
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,B
 +
| 51
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,L
 +
| 52
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,H
 +
| 53
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[BR:ll]
 +
| 54,ll
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[HL]
 +
| 55
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IX]
 +
| 56
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IY]
 +
| 57
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 1
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,#nn
 +
| B2,nn
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IX+dd]
 +
| CE,50,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IY+dd]
 +
| CE,51,dd
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 3
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IX+L]
 +
| CE,52
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[IY+L]
 +
| CE,53
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 2
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| L,[hhll]
 +
| CE,D2,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES
 +
| 4
 +
| – || – || – || – || – || – || – || –
 +
|-
 +
| rowspan="9" | [[S1C88_LD|LD]]
 +
| [hhll],BA
 +
| BC,ll,hh
 +
| ?PSEUDOCODE
 +
| ?CYCLES