Difference between revisions of "S1C88 InstructionSet"

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