Difference between revisions of "S1C88 InstructionSet"

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