Difference between revisions of "S1C88 InstructionSet"

From SublabWiki
Jump to: navigation, search
Line 2: Line 2:
 
== '''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 119: Line 128:
 
== '''ADC''': Addition with carry ==
 
== '''ADC''': Addition with carry ==
 
{| 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_ADC|ADC]]
 
| rowspan="12" | [[S1C88_ADC|ADC]]
 
| A,A
 
| A,A
Line 237: Line 255:
 
== '''SUB''': Subtraction ==
 
== '''SUB''': Subtraction ==
 
{| 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_SUB|SUB]]
 
| rowspan="12" | [[S1C88_SUB|SUB]]
 
| A,A
 
| A,A
Line 354: Line 381:
 
== '''SBC''': Subtraction with carry ==
 
== '''SBC''': Subtraction with carry ==
 
{| 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_SBC|SBC]]
 
| rowspan="12" | [[S1C88_SBC|SBC]]
 
| A,A
 
| A,A
Line 474: Line 510:
 
== '''AND''': Logical product ==
 
== '''AND''': Logical product ==
 
{| 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_AND|AND]]
 
| rowspan="12" | [[S1C88_AND|AND]]
 
| A,A
 
| A,A
Line 632: Line 677:
 
== '''OR''': Logical sum ==
 
== '''OR''': Logical sum ==
 
{| 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_OR|OR]]
 
| rowspan="12" | [[S1C88_OR|OR]]
 
| A,A
 
| A,A
Line 790: Line 844:
 
== '''XOR''': Exclusive OR ==
 
== '''XOR''': Exclusive OR ==
 
{| 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_XOR|XOR]]
 
| rowspan="12" | [[S1C88_XOR|XOR]]
 
| A,A
 
| A,A
Line 948: Line 1,011:
 
== '''CP''': Comparison ==
 
== '''CP''': Comparison ==
 
{| 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_CP|CP]]
 
| rowspan="12" | [[S1C88_CP|CP]]
 
| A,A
 
| A,A
Line 1,106: Line 1,178:
 
== '''BIT''': Bit test ==
 
== '''BIT''': Bit test ==
 
{| 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="2" | [[S1C88_BIT|BIT]]
 
| rowspan="2" | [[S1C88_BIT|BIT]]
 
| A,B
 
| A,B
Line 1,149: Line 1,230:
 
== '''INC''': 1 increment ==
 
== '''INC''': 1 increment ==
 
{| 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
 +
|-
 
| [[S1C88_INC|INC]]
 
| [[S1C88_INC|INC]]
 
| A
 
| A
Line 1,209: Line 1,299:
 
== '''DEC''': 1 decrement ==
 
== '''DEC''': 1 decrement ==
 
{| 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
 +
|-
 
| [[S1C88_DEC|DEC]]
 
| [[S1C88_DEC|DEC]]
 
| A
 
| A
Line 1,269: Line 1,368:
 
== '''MLT''': Multiplication ==
 
== '''MLT''': Multiplication ==
 
{| 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
 +
|-
 
| [[S1C88_MLT|MLT]]
 
| [[S1C88_MLT|MLT]]
 
|  
 
|  
Line 1,281: Line 1,389:
 
== '''DIV''': Division ==
 
== '''DIV''': Division ==
 
{| 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
 +
|-
 
| [[S1C88_DIV|DIV]]
 
| [[S1C88_DIV|DIV]]
 
|  
 
|  
Line 1,293: Line 1,410:
 
== '''CPL''': Complement of 1 ==
 
== '''CPL''': Complement of 1 ==
 
{| 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
 +
|-
 
| [[S1C88_CPL|CPL]]
 
| [[S1C88_CPL|CPL]]
 
| A
 
| A
Line 1,329: Line 1,455:
 
== '''NEG''': Complement of 2 ==
 
== '''NEG''': Complement of 2 ==
 
{| 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
 +
|-
 
| [[S1C88_NEG|NEG]]
 
| [[S1C88_NEG|NEG]]
 
| A
 
| A
Line 1,366: Line 1,501:
 
== '''LD''': Load ==
 
== '''LD''': Load ==
 
{| 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="11" | [[S1C88_LD|LD]]
 
| rowspan="11" | [[S1C88_LD|LD]]
 
| IY,[hhll]
 
| IY,[hhll]
Line 2,893: Line 3,037:
 
== '''EX''': Byte exchange ==
 
== '''EX''': Byte exchange ==
 
{| 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="2" | [[S1C88_EX|EX]]
 
| rowspan="2" | [[S1C88_EX|EX]]
 
| A,B
 
| A,B
Line 2,911: Line 3,064:
 
== '''SWAP''': Nibble exchange ==
 
== '''SWAP''': Nibble exchange ==
 
{| 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
 +
|-
 
| [[S1C88_SWAP|SWAP]]
 
| [[S1C88_SWAP|SWAP]]
 
| A
 
| A
Line 2,932: Line 3,094:
 
== '''RL''': Rotate to left ==
 
== '''RL''': Rotate to left ==
 
{| 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
 +
|-
 
| [[S1C88_RL|RL]]
 
| [[S1C88_RL|RL]]
 
| A
 
| A
Line 2,968: Line 3,139:
 
== '''RLC''': Rotate to left with carry ==
 
== '''RLC''': Rotate to left with carry ==
 
{| 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
 +
|-
 
| [[S1C88_RLC|RLC]]
 
| [[S1C88_RLC|RLC]]
 
| A
 
| A
Line 3,004: Line 3,184:
 
== '''RR''': Rotate to right ==
 
== '''RR''': Rotate to right ==
 
{| 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
 +
|-
 
| [[S1C88_RR|RR]]
 
| [[S1C88_RR|RR]]
 
| A
 
| A
Line 3,040: Line 3,229:
 
== '''RRC''': Rotate to right with carry ==
 
== '''RRC''': Rotate to right with carry ==
 
{| 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
 +
|-
 
| [[S1C88_RRC|RRC]]
 
| [[S1C88_RRC|RRC]]
 
| A
 
| A
Line 3,076: Line 3,274:
 
== '''SLA''': Arithmetic shift to left ==
 
== '''SLA''': Arithmetic shift to left ==
 
{| 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
 +
|-
 
| [[S1C88_SLA|SLA]]
 
| [[S1C88_SLA|SLA]]
 
| A
 
| A
Line 3,112: Line 3,319:
 
== '''SLL''': Logical shift to left ==
 
== '''SLL''': Logical shift to left ==
 
{| 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
 +
|-
 
| [[S1C88_SLL|SLL]]
 
| [[S1C88_SLL|SLL]]
 
| A
 
| A
Line 3,148: Line 3,364:
 
== '''SRA''': Arithmetic shift to right ==
 
== '''SRA''': Arithmetic shift to right ==
 
{| 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
 +
|-
 
| [[S1C88_SRA|SRA]]
 
| [[S1C88_SRA|SRA]]
 
| A
 
| A
Line 3,184: Line 3,409:
 
== '''SRL''': Logical shift to right ==
 
== '''SRL''': Logical shift to right ==
 
{| 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
 +
|-
 
| [[S1C88_SRL|SRL]]
 
| [[S1C88_SRL|SRL]]
 
| A
 
| A
Line 3,221: Line 3,455:
 
== '''PACK''': Pack ==
 
== '''PACK''': Pack ==
 
{| 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
 +
|-
 
| [[S1C88_PACK|PACK]]
 
| [[S1C88_PACK|PACK]]
 
|  
 
|  
Line 3,233: Line 3,476:
 
== '''UPCK''': Unpack ==
 
== '''UPCK''': Unpack ==
 
{| 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
 +
|-
 
| [[S1C88_UPCK|UPCK]]
 
| [[S1C88_UPCK|UPCK]]
 
|  
 
|  
Line 3,245: Line 3,497:
 
== '''SEP''': Code extension ==
 
== '''SEP''': Code extension ==
 
{| 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
 +
|-
 
| [[S1C88_SEP|SEP]]
 
| [[S1C88_SEP|SEP]]
 
|  
 
|  
Line 3,258: Line 3,519:
 
== '''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="3" | [[S1C88_ADD|ADD]]
 
| rowspan="3" | [[S1C88_ADD|ADD]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 3,400: Line 3,670:
 
== '''ADC''': Addition with carry ==
 
== '''ADC''': Addition with carry ==
 
{| 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="5" | [[S1C88_ADC|ADC]]
 
| rowspan="5" | [[S1C88_ADC|ADC]]
 
| BA,BA
 
| BA,BA
Line 3,476: Line 3,755:
 
== '''SUB''': Subtraction ==
 
== '''SUB''': Subtraction ==
 
{| 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="3" | [[S1C88_SUB|SUB]]
 
| rowspan="3" | [[S1C88_SUB|SUB]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 3,618: Line 3,906:
 
== '''SBC''': Subtraction with carry ==
 
== '''SBC''': Subtraction with carry ==
 
{| 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="5" | [[S1C88_SBC|SBC]]
 
| rowspan="5" | [[S1C88_SBC|SBC]]
 
| BA,BA
 
| BA,BA
Line 3,694: Line 3,991:
 
== '''CP''': Comparison ==
 
== '''CP''': Comparison ==
 
{| 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
 +
|-
 
| [[S1C88_CP|CP]]
 
| [[S1C88_CP|CP]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 3,808: Line 4,114:
 
== '''INC''': 1 increment ==
 
== '''INC''': 1 increment ==
 
{| 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
 +
|-
 
| [[S1C88_INC|INC]]
 
| [[S1C88_INC|INC]]
 
| IX
 
| IX
Line 3,852: Line 4,167:
 
== '''DEC''': 1 decrement ==
 
== '''DEC''': 1 decrement ==
 
{| 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
 +
|-
 
| [[S1C88_DEC|DEC]]
 
| [[S1C88_DEC|DEC]]
 
| IX
 
| IX
Line 3,897: Line 4,221:
 
== '''LD''': Load ==
 
== '''LD''': Load ==
 
{| 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="11" | [[S1C88_LD|LD]]
 
| rowspan="11" | [[S1C88_LD|LD]]
 
| IY,[hhll]
 
| IY,[hhll]
Line 5,424: Line 5,757:
 
== '''EX''': Byte exchange ==
 
== '''EX''': Byte exchange ==
 
{| 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="4" | [[S1C88_EX|EX]]
 
| rowspan="4" | [[S1C88_EX|EX]]
 
| BA,HL
 
| BA,HL
Line 5,458: Line 5,800:
 
== '''PUSH''': Push ==
 
== '''PUSH''': Push ==
 
{| 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
 +
|-
 
| [[S1C88_PUSH|PUSH]]
 
| [[S1C88_PUSH|PUSH]]
 
| IY
 
| IY
Line 5,574: Line 5,925:
 
== '''POP''': Pop ==
 
== '''POP''': Pop ==
 
{| 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
 +
|-
 
| [[S1C88_POP|POP]]
 
| [[S1C88_POP|POP]]
 
| IY
 
| IY
Line 5,691: Line 6,051:
 
== '''JRS''': Relative short jump ==
 
== '''JRS''': Relative short jump ==
 
{| 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
 +
|-
 
| [[S1C88_JRS|JRS]]
 
| [[S1C88_JRS|JRS]]
 
| F0,rr
 
| F0,rr
Line 5,863: Line 6,232:
 
== '''JRL''': Relative long jump ==
 
== '''JRL''': Relative long jump ==
 
{| 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
 +
|-
 
| [[S1C88_JRL|JRL]]
 
| [[S1C88_JRL|JRL]]
 
| C,qqrr
 
| C,qqrr
Line 5,907: Line 6,285:
 
== '''JP''': Indirect jump ==
 
== '''JP''': Indirect jump ==
 
{| 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
 +
|-
 
| [[S1C88_JP|JP]]
 
| [[S1C88_JP|JP]]
 
| [kk]
 
| [kk]
Line 5,927: Line 6,314:
 
== '''DJR''': Loop ==
 
== '''DJR''': Loop ==
 
{| 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
 +
|-
 
| [[S1C88_DJR|DJR]]
 
| [[S1C88_DJR|DJR]]
 
| NZ,rr
 
| NZ,rr
Line 5,939: Line 6,335:
 
== '''CARS''': Relative short call ==
 
== '''CARS''': Relative short call ==
 
{| 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
 +
|-
 
| [[S1C88_CARS|CARS]]
 
| [[S1C88_CARS|CARS]]
 
| F0,rr
 
| F0,rr
Line 6,111: Line 6,516:
 
== '''CARL''': Relative long call ==
 
== '''CARL''': Relative long call ==
 
{| 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
 +
|-
 
| [[S1C88_CARL|CARL]]
 
| [[S1C88_CARL|CARL]]
 
| C,qqrr
 
| C,qqrr
Line 6,155: Line 6,569:
 
== '''CALL''': Indirect call ==
 
== '''CALL''': Indirect call ==
 
{| 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
 +
|-
 
| [[S1C88_CALL|CALL]]
 
| [[S1C88_CALL|CALL]]
 
| [hhll]
 
| [hhll]
Line 6,167: Line 6,590:
 
== '''RET''': Return ==
 
== '''RET''': Return ==
 
{| 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
 +
|-
 
| [[S1C88_RET|RET]]
 
| [[S1C88_RET|RET]]
 
|  
 
|  
Line 6,179: Line 6,611:
 
== '''RETE''': Exception processing return ==
 
== '''RETE''': Exception processing return ==
 
{| 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
 +
|-
 
| [[S1C88_RETE|RETE]]
 
| [[S1C88_RETE|RETE]]
 
|  
 
|  
Line 6,191: Line 6,632:
 
== '''RETS''': Return and skip ==
 
== '''RETS''': Return and skip ==
 
{| 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
 +
|-
 
| [[S1C88_RETS|RETS]]
 
| [[S1C88_RETS|RETS]]
 
|  
 
|  
Line 6,203: Line 6,653:
 
== '''INT''': Software interrupt ==
 
== '''INT''': Software interrupt ==
 
{| 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
 +
|-
 
| [[S1C88_INT|INT]]
 
| [[S1C88_INT|INT]]
 
| [kk]
 
| [kk]
Line 6,216: Line 6,675:
 
== '''NOP''': No operation ==
 
== '''NOP''': No operation ==
 
{| 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
 +
|-
 
| [[S1C88_NOP|NOP]]
 
| [[S1C88_NOP|NOP]]
 
|  
 
|  
Line 6,228: Line 6,696:
 
== '''HALT''': Shifts to HALT status ==
 
== '''HALT''': Shifts to HALT status ==
 
{| 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
 +
|-
 
| [[S1C88_HALT|HALT]]
 
| [[S1C88_HALT|HALT]]
 
|  
 
|  
Line 6,240: Line 6,717:
 
== '''SLP''': Shifts to SLEEP status ==
 
== '''SLP''': Shifts to SLEEP status ==
 
{| 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
 +
|-
 
| [[S1C88_SLP|SLP]]
 
| [[S1C88_SLP|SLP]]
 
|  
 
|  
Line 7,194: Line 7,680:
 
== '''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 7,311: Line 7,806:
 
== '''ADC''': Addition with carry ==
 
== '''ADC''': Addition with carry ==
 
{| 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_ADC|ADC]]
 
| rowspan="12" | [[S1C88_ADC|ADC]]
 
| A,A
 
| A,A
Line 7,429: Line 7,933:
 
== '''SUB''': Subtraction ==
 
== '''SUB''': Subtraction ==
 
{| 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_SUB|SUB]]
 
| rowspan="12" | [[S1C88_SUB|SUB]]
 
| A,A
 
| A,A
Line 7,546: Line 8,059:
 
== '''SBC''': Subtraction with carry ==
 
== '''SBC''': Subtraction with carry ==
 
{| 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_SBC|SBC]]
 
| rowspan="12" | [[S1C88_SBC|SBC]]
 
| A,A
 
| A,A
Line 7,666: Line 8,188:
 
== '''AND''': Logical product ==
 
== '''AND''': Logical product ==
 
{| 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_AND|AND]]
 
| rowspan="12" | [[S1C88_AND|AND]]
 
| A,A
 
| A,A
Line 7,824: Line 8,355:
 
== '''OR''': Logical sum ==
 
== '''OR''': Logical sum ==
 
{| 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_OR|OR]]
 
| rowspan="12" | [[S1C88_OR|OR]]
 
| A,A
 
| A,A
Line 7,982: Line 8,522:
 
== '''XOR''': Exclusive OR ==
 
== '''XOR''': Exclusive OR ==
 
{| 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_XOR|XOR]]
 
| rowspan="12" | [[S1C88_XOR|XOR]]
 
| A,A
 
| A,A
Line 8,140: Line 8,689:
 
== '''CP''': Comparison ==
 
== '''CP''': Comparison ==
 
{| 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_CP|CP]]
 
| rowspan="12" | [[S1C88_CP|CP]]
 
| A,A
 
| A,A
Line 8,298: Line 8,856:
 
== '''BIT''': Bit test ==
 
== '''BIT''': Bit test ==
 
{| 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="2" | [[S1C88_BIT|BIT]]
 
| rowspan="2" | [[S1C88_BIT|BIT]]
 
| A,B
 
| A,B
Line 8,341: Line 8,908:
 
== '''INC''': 1 increment ==
 
== '''INC''': 1 increment ==
 
{| 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
 +
|-
 
| [[S1C88_INC|INC]]
 
| [[S1C88_INC|INC]]
 
| A
 
| A
Line 8,401: Line 8,977:
 
== '''DEC''': 1 decrement ==
 
== '''DEC''': 1 decrement ==
 
{| 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
 +
|-
 
| [[S1C88_DEC|DEC]]
 
| [[S1C88_DEC|DEC]]
 
| A
 
| A
Line 8,461: Line 9,046:
 
== '''MLT''': Multiplication ==
 
== '''MLT''': Multiplication ==
 
{| 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
 +
|-
 
| [[S1C88_MLT|MLT]]
 
| [[S1C88_MLT|MLT]]
 
|  
 
|  
Line 8,473: Line 9,067:
 
== '''DIV''': Division ==
 
== '''DIV''': Division ==
 
{| 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
 +
|-
 
| [[S1C88_DIV|DIV]]
 
| [[S1C88_DIV|DIV]]
 
|  
 
|  
Line 8,485: Line 9,088:
 
== '''CPL''': Complement of 1 ==
 
== '''CPL''': Complement of 1 ==
 
{| 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
 +
|-
 
| [[S1C88_CPL|CPL]]
 
| [[S1C88_CPL|CPL]]
 
| A
 
| A
Line 8,521: Line 9,133:
 
== '''NEG''': Complement of 2 ==
 
== '''NEG''': Complement of 2 ==
 
{| 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
 +
|-
 
| [[S1C88_NEG|NEG]]
 
| [[S1C88_NEG|NEG]]
 
| A
 
| A
Line 8,558: Line 9,179:
 
== '''LD''': Load ==
 
== '''LD''': Load ==
 
{| 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="11" | [[S1C88_LD|LD]]
 
| rowspan="11" | [[S1C88_LD|LD]]
 
| IY,[hhll]
 
| IY,[hhll]
Line 10,085: Line 10,715:
 
== '''EX''': Byte exchange ==
 
== '''EX''': Byte exchange ==
 
{| 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="2" | [[S1C88_EX|EX]]
 
| rowspan="2" | [[S1C88_EX|EX]]
 
| A,B
 
| A,B
Line 10,103: Line 10,742:
 
== '''SWAP''': Nibble exchange ==
 
== '''SWAP''': Nibble exchange ==
 
{| 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
 +
|-
 
| [[S1C88_SWAP|SWAP]]
 
| [[S1C88_SWAP|SWAP]]
 
| A
 
| A
Line 10,124: Line 10,772:
 
== '''RL''': Rotate to left ==
 
== '''RL''': Rotate to left ==
 
{| 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
 +
|-
 
| [[S1C88_RL|RL]]
 
| [[S1C88_RL|RL]]
 
| A
 
| A
Line 10,160: Line 10,817:
 
== '''RLC''': Rotate to left with carry ==
 
== '''RLC''': Rotate to left with carry ==
 
{| 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
 +
|-
 
| [[S1C88_RLC|RLC]]
 
| [[S1C88_RLC|RLC]]
 
| A
 
| A
Line 10,196: Line 10,862:
 
== '''RR''': Rotate to right ==
 
== '''RR''': Rotate to right ==
 
{| 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
 +
|-
 
| [[S1C88_RR|RR]]
 
| [[S1C88_RR|RR]]
 
| A
 
| A
Line 10,232: Line 10,907:
 
== '''RRC''': Rotate to right with carry ==
 
== '''RRC''': Rotate to right with carry ==
 
{| 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
 +
|-
 
| [[S1C88_RRC|RRC]]
 
| [[S1C88_RRC|RRC]]
 
| A
 
| A
Line 10,268: Line 10,952:
 
== '''SLA''': Arithmetic shift to left ==
 
== '''SLA''': Arithmetic shift to left ==
 
{| 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
 +
|-
 
| [[S1C88_SLA|SLA]]
 
| [[S1C88_SLA|SLA]]
 
| A
 
| A
Line 10,304: Line 10,997:
 
== '''SLL''': Logical shift to left ==
 
== '''SLL''': Logical shift to left ==
 
{| 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
 +
|-
 
| [[S1C88_SLL|SLL]]
 
| [[S1C88_SLL|SLL]]
 
| A
 
| A
Line 10,340: Line 11,042:
 
== '''SRA''': Arithmetic shift to right ==
 
== '''SRA''': Arithmetic shift to right ==
 
{| 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
 +
|-
 
| [[S1C88_SRA|SRA]]
 
| [[S1C88_SRA|SRA]]
 
| A
 
| A
Line 10,376: Line 11,087:
 
== '''SRL''': Logical shift to right ==
 
== '''SRL''': Logical shift to right ==
 
{| 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
 +
|-
 
| [[S1C88_SRL|SRL]]
 
| [[S1C88_SRL|SRL]]
 
| A
 
| A
Line 10,413: Line 11,133:
 
== '''PACK''': Pack ==
 
== '''PACK''': Pack ==
 
{| 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
 +
|-
 
| [[S1C88_PACK|PACK]]
 
| [[S1C88_PACK|PACK]]
 
|  
 
|  
Line 10,425: Line 11,154:
 
== '''UPCK''': Unpack ==
 
== '''UPCK''': Unpack ==
 
{| 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
 +
|-
 
| [[S1C88_UPCK|UPCK]]
 
| [[S1C88_UPCK|UPCK]]
 
|  
 
|  
Line 10,437: Line 11,175:
 
== '''SEP''': Code extension ==
 
== '''SEP''': Code extension ==
 
{| 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
 +
|-
 
| [[S1C88_SEP|SEP]]
 
| [[S1C88_SEP|SEP]]
 
|  
 
|  
Line 10,450: Line 11,197:
 
== '''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="3" | [[S1C88_ADD|ADD]]
 
| rowspan="3" | [[S1C88_ADD|ADD]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 10,592: Line 11,348:
 
== '''ADC''': Addition with carry ==
 
== '''ADC''': Addition with carry ==
 
{| 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="5" | [[S1C88_ADC|ADC]]
 
| rowspan="5" | [[S1C88_ADC|ADC]]
 
| BA,BA
 
| BA,BA
Line 10,668: Line 11,433:
 
== '''SUB''': Subtraction ==
 
== '''SUB''': Subtraction ==
 
{| 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="3" | [[S1C88_SUB|SUB]]
 
| rowspan="3" | [[S1C88_SUB|SUB]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 10,810: Line 11,584:
 
== '''SBC''': Subtraction with carry ==
 
== '''SBC''': Subtraction with carry ==
 
{| 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="5" | [[S1C88_SBC|SBC]]
 
| rowspan="5" | [[S1C88_SBC|SBC]]
 
| BA,BA
 
| BA,BA
Line 10,886: Line 11,669:
 
== '''CP''': Comparison ==
 
== '''CP''': Comparison ==
 
{| 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
 +
|-
 
| [[S1C88_CP|CP]]
 
| [[S1C88_CP|CP]]
 
| IX,#mmnn
 
| IX,#mmnn
Line 11,000: Line 11,792:
 
== '''INC''': 1 increment ==
 
== '''INC''': 1 increment ==
 
{| 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
 +
|-
 
| [[S1C88_INC|INC]]
 
| [[S1C88_INC|INC]]
 
| IX
 
| IX
Line 11,044: Line 11,845:
 
== '''DEC''': 1 decrement ==
 
== '''DEC''': 1 decrement ==
 
{| 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
 +
|-
 
| [[S1C88_DEC|DEC]]
 
| [[S1C88_DEC|DEC]]
 
| IX
 
| IX
Line 11,089: Line 11,899:
 
== '''LD''': Load ==
 
== '''LD''': Load ==
 
{| 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="11" | [[S1C88_LD|LD]]
 
| rowspan="11" | [[S1C88_LD|LD]]
 
| IY,[hhll]
 
| IY,[hhll]
Line 12,616: Line 13,435:
 
== '''EX''': Byte exchange ==
 
== '''EX''': Byte exchange ==
 
{| 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="4" | [[S1C88_EX|EX]]
 
| rowspan="4" | [[S1C88_EX|EX]]
 
| BA,HL
 
| BA,HL
Line 12,650: Line 13,478:
 
== '''PUSH''': Push ==
 
== '''PUSH''': Push ==
 
{| 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
 +
|-
 
| [[S1C88_PUSH|PUSH]]
 
| [[S1C88_PUSH|PUSH]]
 
| IY
 
| IY
Line 12,766: Line 13,603:
 
== '''POP''': Pop ==
 
== '''POP''': Pop ==
 
{| 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
 +
|-
 
| [[S1C88_POP|POP]]
 
| [[S1C88_POP|POP]]
 
| IY
 
| IY
Line 12,883: Line 13,729:
 
== '''JRS''': Relative short jump ==
 
== '''JRS''': Relative short jump ==
 
{| 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
 +
|-
 
| [[S1C88_JRS|JRS]]
 
| [[S1C88_JRS|JRS]]
 
| F0,rr
 
| F0,rr
Line 13,055: Line 13,910:
 
== '''JRL''': Relative long jump ==
 
== '''JRL''': Relative long jump ==
 
{| 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
 +
|-
 
| [[S1C88_JRL|JRL]]
 
| [[S1C88_JRL|JRL]]
 
| C,qqrr
 
| C,qqrr
Line 13,099: Line 13,963:
 
== '''JP''': Indirect jump ==
 
== '''JP''': Indirect jump ==
 
{| 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
 +
|-
 
| [[S1C88_JP|JP]]
 
| [[S1C88_JP|JP]]
 
| [kk]
 
| [kk]
Line 13,119: Line 13,992:
 
== '''DJR''': Loop ==
 
== '''DJR''': Loop ==
 
{| 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
 +
|-
 
| [[S1C88_DJR|DJR]]
 
| [[S1C88_DJR|DJR]]
 
| NZ,rr
 
| NZ,rr
Line 13,131: Line 14,013:
 
== '''CARS''': Relative short call ==
 
== '''CARS''': Relative short call ==
 
{| 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
 +
|-
 
| [[S1C88_CARS|CARS]]
 
| [[S1C88_CARS|CARS]]
 
| F0,rr
 
| F0,rr
Line 13,303: Line 14,194:
 
== '''CARL''': Relative long call ==
 
== '''CARL''': Relative long call ==
 
{| 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
 +
|-
 
| [[S1C88_CARL|CARL]]
 
| [[S1C88_CARL|CARL]]
 
| C,qqrr
 
| C,qqrr
Line 13,347: Line 14,247:
 
== '''CALL''': Indirect call ==
 
== '''CALL''': Indirect call ==
 
{| 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
 +
|-
 
| [[S1C88_CALL|CALL]]
 
| [[S1C88_CALL|CALL]]
 
| [hhll]
 
| [hhll]
Line 13,359: Line 14,268:
 
== '''RET''': Return ==
 
== '''RET''': Return ==
 
{| 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
 +
|-
 
| [[S1C88_RET|RET]]
 
| [[S1C88_RET|RET]]
 
|  
 
|  
Line 13,371: Line 14,289:
 
== '''RETE''': Exception processing return ==
 
== '''RETE''': Exception processing return ==
 
{| 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
 +
|-
 
| [[S1C88_RETE|RETE]]
 
| [[S1C88_RETE|RETE]]
 
|  
 
|  
Line 13,383: Line 14,310:
 
== '''RETS''': Return and skip ==
 
== '''RETS''': Return and skip ==
 
{| 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
 +
|-
 
| [[S1C88_RETS|RETS]]
 
| [[S1C88_RETS|RETS]]
 
|  
 
|  
Line 13,395: Line 14,331:
 
== '''INT''': Software interrupt ==
 
== '''INT''': Software interrupt ==
 
{| 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
 +
|-
 
| [[S1C88_INT|INT]]
 
| [[S1C88_INT|INT]]
 
| [kk]
 
| [kk]
Line 13,408: Line 14,353:
 
== '''NOP''': No operation ==
 
== '''NOP''': No operation ==
 
{| 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
 +
|-
 
| [[S1C88_NOP|NOP]]
 
| [[S1C88_NOP|NOP]]
 
|  
 
|  
Line 13,420: Line 14,374:
 
== '''HALT''': Shifts to HALT status ==
 
== '''HALT''': Shifts to HALT status ==
 
{| 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
 +
|-
 
| [[S1C88_HALT|HALT]]
 
| [[S1C88_HALT|HALT]]
 
|  
 
|  
Line 13,432: Line 14,395:
 
== '''SLP''': Shifts to SLEEP status ==
 
== '''SLP''': Shifts to SLEEP status ==
 
{| 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
 +
|-
 
| [[S1C88_SLP|SLP]]
 
| [[S1C88_SLP|SLP]]
 
|  
 
|  

Revision as of 18:43, 13 July 2015

Contents

8-bit arithmetic and logic operation

ADD: Addition

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADD A,A 0  ?PSEUDOCODE  ?CYCLES 1
A,B 1  ?PSEUDOCODE  ?CYCLES 1
A,#nn 2,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 3  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 4,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 5,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 6  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 7  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE, 0,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE, 1,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE, 2  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE, 3  ?PSEUDOCODE  ?CYCLES 2
ADD [HL],A CE, 4  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE, 5,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE, 6  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE, 7  ?PSEUDOCODE  ?CYCLES 2

ADC: Addition with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADC A,A 8  ?PSEUDOCODE  ?CYCLES 1
A,B 9  ?PSEUDOCODE  ?CYCLES 1
A,#nn A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE, 8,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE, 9,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE, A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE, B  ?PSEUDOCODE  ?CYCLES 2
ADC [HL],A CE, C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE, D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE, E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE, F  ?PSEUDOCODE  ?CYCLES 2

SUB: Subtraction

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SUB A,A 10  ?PSEUDOCODE  ?CYCLES 1
A,B 11  ?PSEUDOCODE  ?CYCLES 1
A,#nn 12,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 13  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 14,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 15,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 16  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 17  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,10,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,11,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,12  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,13  ?PSEUDOCODE  ?CYCLES 2
SUB [HL],A CE,14  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,15,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,16  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,17  ?PSEUDOCODE  ?CYCLES 2

SBC: Subtraction with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SBC A,A 18  ?PSEUDOCODE  ?CYCLES 1
A,B 19  ?PSEUDOCODE  ?CYCLES 1
A,#nn 1A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 1B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 1C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 1D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 1E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 1F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,18,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,19,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,1A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,1B  ?PSEUDOCODE  ?CYCLES 2
SBC [HL],A CE,1C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,1D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,1E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,1F  ?PSEUDOCODE  ?CYCLES 2


AND: Logical product

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
AND A,A 20  ?PSEUDOCODE  ?CYCLES 1
A,B 21  ?PSEUDOCODE  ?CYCLES 1
A,#nn 22,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 23  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 24,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 25,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 26  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 27  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,20,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,21,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,22  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,23  ?PSEUDOCODE  ?CYCLES 2
AND B,#nn CE,B0,nn  ?PSEUDOCODE  ?CYCLES 3
AND H,#nn CE,B2,nn  ?PSEUDOCODE  ?CYCLES 3
AND [BR:ll],#nn D8,ll,nn  ?PSEUDOCODE  ?CYCLES 3
AND [HL],A CE,24  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,25,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,26  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,27  ?PSEUDOCODE  ?CYCLES 2
AND L,#nn CE,B1,nn  ?PSEUDOCODE  ?CYCLES 3
AND SC,#nn 9C,nn  ?PSEUDOCODE  ?CYCLES 2

OR: Logical sum

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
OR A,A 28  ?PSEUDOCODE  ?CYCLES 1
A,B 29  ?PSEUDOCODE  ?CYCLES 1
A,#nn 2A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 2B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 2C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 2D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 2E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 2F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,28,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,29,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,2A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,2B  ?PSEUDOCODE  ?CYCLES 2
OR B,#nn CE,B4,nn  ?PSEUDOCODE  ?CYCLES 3
OR H,#nn CE,B6,nn  ?PSEUDOCODE  ?CYCLES 3
OR [BR:ll],#nn D9,ll,nn  ?PSEUDOCODE  ?CYCLES 3
OR [HL],A CE,2C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,2D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,2E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,2F  ?PSEUDOCODE  ?CYCLES 2
OR L,#nn CE,B5,nn  ?PSEUDOCODE  ?CYCLES 3
OR SC,#nn 9D,nn  ?PSEUDOCODE  ?CYCLES 2

XOR: Exclusive OR

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
XOR A,A 38  ?PSEUDOCODE  ?CYCLES 1
A,B 39  ?PSEUDOCODE  ?CYCLES 1
A,#nn 3A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 3B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 3C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 3D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 3E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 3F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,38,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,39,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,3A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,3B  ?PSEUDOCODE  ?CYCLES 2
XOR B,#nn CE,B8,nn  ?PSEUDOCODE  ?CYCLES 3
XOR H,#nn CE,BA,nn  ?PSEUDOCODE  ?CYCLES 3
XOR [BR:ll],#nn DA,ll,nn  ?PSEUDOCODE  ?CYCLES 3
XOR [HL],A CE,3C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,3D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,3E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,3F  ?PSEUDOCODE  ?CYCLES 2
XOR L,#nn CE,B9,nn  ?PSEUDOCODE  ?CYCLES 3
XOR SC,#nn 9E,nn  ?PSEUDOCODE  ?CYCLES 2

CP: Comparison

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CP A,A 30  ?PSEUDOCODE  ?CYCLES 1
A,B 31  ?PSEUDOCODE  ?CYCLES 1
A,#nn 32,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 33  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 34,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 35,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 36  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 37  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,30,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,31,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,32  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,33  ?PSEUDOCODE  ?CYCLES 2
CP B,#nn CE,BC,nn  ?PSEUDOCODE  ?CYCLES 3
CP H,#nn CE,BE,nn  ?PSEUDOCODE  ?CYCLES 3
CP BR,#hh CE,BF,hh  ?PSEUDOCODE  ?CYCLES 3
CP [BR:ll],#nn DB,ll,nn  ?PSEUDOCODE  ?CYCLES 3
CP [HL],A CE,34  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,35,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,36  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,37  ?PSEUDOCODE  ?CYCLES 2
CP L,#nn CE,BD,nn  ?PSEUDOCODE  ?CYCLES 3

BIT: Bit test

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
BIT A,B 94  ?PSEUDOCODE  ?CYCLES 1
A,#nn 96,nn  ?PSEUDOCODE  ?CYCLES 2
BIT B,#nn 97,nn  ?PSEUDOCODE  ?CYCLES 2
BIT [HL],#nn 95,nn  ?PSEUDOCODE  ?CYCLES 2
BIT [BR:ll],#nn DC,ll,nn  ?PSEUDOCODE  ?CYCLES 3

INC: 1 increment

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INC A 80  ?PSEUDOCODE  ?CYCLES 1
INC B 81  ?PSEUDOCODE  ?CYCLES 1
INC H 83  ?PSEUDOCODE  ?CYCLES 1
INC [BR:ll] 85,ll  ?PSEUDOCODE  ?CYCLES 2
INC [HL] 86  ?PSEUDOCODE  ?CYCLES 1
INC L 82  ?PSEUDOCODE  ?CYCLES 1
INC BR 84  ?PSEUDOCODE  ?CYCLES 1

DEC: 1 decrement

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DEC A 88  ?PSEUDOCODE  ?CYCLES 1
DEC B 89  ?PSEUDOCODE  ?CYCLES 1
DEC H 8B  ?PSEUDOCODE  ?CYCLES 1
DEC [BR:ll] 8D,ll  ?PSEUDOCODE  ?CYCLES 2
DEC [HL] 8E  ?PSEUDOCODE  ?CYCLES 1
DEC L 8A  ?PSEUDOCODE  ?CYCLES 1
DEC BR 8C  ?PSEUDOCODE  ?CYCLES 1

MLT: Multiplication

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
MLT CE,D8  ?PSEUDOCODE  ?CYCLES 2 0 0

DIV: Division

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DIV CE,D9  ?PSEUDOCODE  ?CYCLES 2 0

CPL: Complement of 1

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CPL A CE,A0  ?PSEUDOCODE  ?CYCLES 2
CPL B CE,A1  ?PSEUDOCODE  ?CYCLES 2
CPL [HL] CE,A3  ?PSEUDOCODE  ?CYCLES 2
CPL [BR:ll] CE,A2,ll  ?PSEUDOCODE  ?CYCLES 3

NEG: Complement of 2

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
NEG A CE,A4  ?PSEUDOCODE  ?CYCLES 2
NEG B CE,A5  ?PSEUDOCODE  ?CYCLES 2
NEG [HL] CE,A7  ?PSEUDOCODE  ?CYCLES 2
NEG [BR:ll] CE,A6,ll  ?PSEUDOCODE  ?CYCLES 3

8-bit transfer

LD: Load

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
LD IY,[hhll] BB,ll,hh  ?PSEUDOCODE  ?CYCLES 3
IY,#mmnn C7,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,[SP+dd] CE,73,dd  ?PSEUDOCODE  ?CYCLES 3
IY,[HL] CE,C3  ?PSEUDOCODE  ?CYCLES 2
IY,[IX] CE,D3  ?PSEUDOCODE  ?CYCLES 2
IY,[IY] CE,DB  ?PSEUDOCODE  ?CYCLES 2
IY,BA CE,EC  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,ED  ?PSEUDOCODE  ?CYCLES 2
IY,IX CE,EE  ?PSEUDOCODE  ?CYCLES 2
IY,IY CE,EF  ?PSEUDOCODE  ?CYCLES 2
IY,SP CE,FE  ?PSEUDOCODE  ?CYCLES 2
LD SP,#mmnn CE,6E,nn,mm  ?PSEUDOCODE  ?CYCLES 4
SP,[hhll] CE,78,ll,hh  ?PSEUDOCODE  ?CYCLES 4
SP,BA CE,F0  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,F1  ?PSEUDOCODE  ?CYCLES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HL,IY CE,E7  ?PSEUDOCODE  ?CYCLES 2
HL,SP CE,F4  ?PSEUDOCODE  ?CYCLES 2
HL,PC CE,F5  ?PSEUDOCODE  ?CYCLES 2
LD [IY+L],A CE,47  ?PSEUDOCODE  ?CYCLES 2
[IY+L],B CE,4F  ?PSEUDOCODE  ?CYCLES 2
[IY+L],L CE,57  ?PSEUDOCODE  ?CYCLES 2
[IY+L],H CE,5F  ?PSEUDOCODE  ?CYCLES 2
LD YP,#pp CE,C7,pp  ?PSEUDOCODE  ?CYCLES 3
YP,A CE,CF  ?PSEUDOCODE  ?CYCLES 2
LD [IY],A 70  ?PSEUDOCODE  ?CYCLES 1
[IY],B 71  ?PSEUDOCODE  ?CYCLES 1
[IY],L 72  ?PSEUDOCODE  ?CYCLES 1
[IY],H 73  ?PSEUDOCODE  ?CYCLES 1
[IY],[BR:ll] 74,ll  ?PSEUDOCODE  ?CYCLES 2
[IY],[HL] 75  ?PSEUDOCODE  ?CYCLES 1
[IY],[IX] 76  ?PSEUDOCODE  ?CYCLES 1
[IY],[IY] 77  ?PSEUDOCODE  ?CYCLES 1
[IY],#nn B7,nn  ?PSEUDOCODE  ?CYCLES 2
[IY],[IX+dd] CE,78,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IY+dd] CE,79,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IX+L] CE,7A  ?PSEUDOCODE  ?CYCLES 2
[IY],[IY+L] CE,7B  ?PSEUDOCODE  ?CYCLES 2
[IY],BA CE,DC  ?PSEUDOCODE  ?CYCLES 2
[IY],HL CE,DD  ?PSEUDOCODE  ?CYCLES 2
[IY],IX CE,DE  ?PSEUDOCODE  ?CYCLES 2
[IY],IY CE,DF  ?PSEUDOCODE  ?CYCLES 2
LD [BR:ll],A 78,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],B 79,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],L 7A,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],H 7B,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[HL] 7D,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IX] 7E,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IY] 7F,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],#nn DD,ll,nn  ?PSEUDOCODE  ?CYCLES 3
LD [SP+dd],BA CE,74,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],HL CE,75,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IX CE,76,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IY CE,77,dd  ?PSEUDOCODE  ?CYCLES 3
LD [IY+dd],A CE,45,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],B CE,4D,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],L CE,55,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],H CE,5D,dd  ?PSEUDOCODE  ?CYCLES 3
LD A,A 40  ?PSEUDOCODE  ?CYCLES 1
A,B 41  ?PSEUDOCODE  ?CYCLES 1
A,L 42  ?PSEUDOCODE  ?CYCLES 1
A,H 43  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 44,ll  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 45  ?PSEUDOCODE  ?CYCLES 1
A,[IX] 46  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 47  ?PSEUDOCODE  ?CYCLES 1
A,#nn B0,nn  ?PSEUDOCODE  ?CYCLES 2
A,[IX+dd] CE,40,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,41,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,42  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,43  ?PSEUDOCODE  ?CYCLES 2
A,BR CE,C0  ?PSEUDOCODE  ?CYCLES 2
A,SC CE,C1  ?PSEUDOCODE  ?CYCLES 2
A,NB CE,C8  ?PSEUDOCODE  ?CYCLES 2
A,EP C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OCODE  ?CYCLES 2
LD L,A 50  ?PSEUDOCODE  ?CYCLES 1
L,B 51  ?PSEUDOCODE  ?CYCLES 1
L,L 52  ?PSEUDOCODE  ?CYCLES 1
L,H 53  ?PSEUDOCODE  ?CYCLES 1
L,[BR:ll] 54,ll  ?PSEUDOCODE  ?CYCLES 2
L,[HL] 55  ?PSEUDOCODE  ?CYCLES 1
L,[IX] 56  ?PSEUDOCODE  ?CYCLES 1
L,[IY] 57  ?PSEUDOCODE  ?CYCLES 1
L,#nn B2,nn  ?PSEUDOCODE  ?CYCLES 2
L,[IX+dd] CE,50,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IY+dd] CE,51,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IX+L] CE,52  ?PSEUDOCODE  ?CYCLES 2
L,[IY+L] CE,53  ?PSEUDOCODE  ?CYCLES 2
L,[hhll] CE,D2,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD [hhll],BA BC,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],HL BD,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IX BE,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IY BF,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],A CE,D4,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],B CE,D5,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],L CE,D6,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],H CE,D7,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],SP CE,7C,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD XP,#pp CE,C6,pp  ?PSEUDOCODE  ?CYCLES 3
XP,A CE,CE  ?PSEUDOCODE  ?CYCLES 2
LD EP,#pp CE,C5,pp  ?PSEUDOCODE  ?CYCLES 3
EP,A CE,CD  ?PSEUDOCODE  ?CYCLES 2
LD [IX],A 60  ?PSEUDOCODE  ?CYCLES 1
[IX],B 61  ?PSEUDOCODE  ?CYCLES 1
[IX],L 62  ?PSEUDOCODE  ?CYCLES 1
[IX],H 63  ?PSEUDOCODE  ?CYCLES 1
[IX],[BR:ll] 64,ll  ?PSEUDOCODE  ?CYCLES 2
[IX],[HL] 65  ?PSEUDOCODE  ?CYCLES 1
[IX],[IX] 66  ?PSEUDOCODE  ?CYCLES 1
[IX],[IY] 67  ?PSEUDOCODE  ?CYCLES 1
[IX],#nn B6,nn  ?PSEUDOCODE  ?CYCLES 2
[IX],[IX+dd] CE,68,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IY+dd] CE,69,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IX+L] CE,6A  ?PSEUDOCODE  ?CYCLES 2
[IX],[IY+L] CE,6B  ?PSEUDOCODE  ?CYCLES 2
[IX],BA CE,D4  ?PSEUDOCODE  ?CYCLES 2
[IX],HL CE,D5  ?PSEUDOCODE  ?CYCLES 2
[IX],IX CE,D6  ?PSEUDOCODE  ?CYCLES 2
[IX],IY CE,D7  ?PSEUDOCODE  ?CYCLES 2
LD [IX+dd],A CE,44,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],B CE,4C,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],L CE,54,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],H CE,5C,dd  ?PSEUDOCODE  ?CYCLES 3
LD SC,#nn 9F,nn  ?PSEUDOCODE  ?CYCLES 2
SC,A CE,C3  ?PSEUDOCODE  ?CYCLES 2
LD NB,#bb CE,C4,bb  ?PSEUDOCODE  ?CYCLES 3
NB,A CE,CC  ?PSEUDOCODE  ?CYCLES 2

EX: Byte exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
EX A,B CC  ?PSEUDOCODE  ?CYCLES 1
A,[HL] CD  ?PSEUDOCODE  ?CYCLES 1

SWAP: Nibble exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SWAP A F6  ?PSEUDOCODE  ?CYCLES 1
SWAP [HL] F7  ?PSEUDOCODE  ?CYCLES 1

Rotate/shift

RL: Rotate to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RL A CE,90  ?PSEUDOCODE  ?CYCLES 2
RL B CE,91  ?PSEUDOCODE  ?CYCLES 2
RL [HL] CE,93  ?PSEUDOCODE  ?CYCLES 2
RL [BR:ll] CE,92,ll  ?PSEUDOCODE  ?CYCLES 3

RLC: Rotate to left with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RLC A CE,94  ?PSEUDOCODE  ?CYCLES 2
RLC B CE,95  ?PSEUDOCODE  ?CYCLES 2
RLC [HL] CE,97  ?PSEUDOCODE  ?CYCLES 2
RLC [BR:ll] CE,96,ll  ?PSEUDOCODE  ?CYCLES 3

RR: Rotate to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RR A CE,98  ?PSEUDOCODE  ?CYCLES 2
RR B CE,99  ?PSEUDOCODE  ?CYCLES 2
RR [HL] CE,9B  ?PSEUDOCODE  ?CYCLES 2
RR [BR:ll] CE,9A,ll  ?PSEUDOCODE  ?CYCLES 3

RRC: Rotate to right with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RRC A CE,9C  ?PSEUDOCODE  ?CYCLES 2
RRC B CE,9D  ?PSEUDOCODE  ?CYCLES 2
RRC [HL] CE,9F  ?PSEUDOCODE  ?CYCLES 2
RRC [BR:ll] CE,9E,ll  ?PSEUDOCODE  ?CYCLES 3

SLA: Arithmetic shift to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLA A CE,80  ?PSEUDOCODE  ?CYCLES 2
SLA B CE,81  ?PSEUDOCODE  ?CYCLES 2
SLA [HL] CE,83  ?PSEUDOCODE  ?CYCLES 2
SLA [BR:ll] CE,82,ll  ?PSEUDOCODE  ?CYCLES 3

SLL: Logical shift to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLL A CE,84  ?PSEUDOCODE  ?CYCLES 2
SLL B CE,85  ?PSEUDOCODE  ?CYCLES 2
SLL [HL] CE,87  ?PSEUDOCODE  ?CYCLES 2
SLL [BR:ll] CE,86,ll  ?PSEUDOCODE  ?CYCLES 3

SRA: Arithmetic shift to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SRA A CE,88  ?PSEUDOCODE  ?CYCLES 2 0
SRA B CE,89  ?PSEUDOCODE  ?CYCLES 2 0
SRA [HL] CE,8B  ?PSEUDOCODE  ?CYCLES 2 0
SRA [BR:ll] CE,8A,ll  ?PSEUDOCODE  ?CYCLES 3 0

SRL: Logical shift to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SRL A CE,8C  ?PSEUDOCODE  ?CYCLES 2 0
SRL B CE,8D  ?PSEUDOCODE  ?CYCLES 2 0
SRL [HL] CE,8F  ?PSEUDOCODE  ?CYCLES 2 0
SRL [BR:ll] CE,8E,ll  ?PSEUDOCODE  ?CYCLES 3 0

Auxiliary operation

PACK: Pack

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
PACK DE  ?PSEUDOCODE  ?CYCLES 1

UPCK: Unpack

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
UPCK DF  ?PSEUDOCODE  ?CYCLES 1

SEP: Code extension

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SEP CE,A8  ?PSEUDOCODE  ?CYCLES 2

16-bit arithmetic operation

ADD: Addition

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADD IX,#mmnn C2,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IX,BA CE,40  ?PSEUDOCODE  ?CYCLES 2
IX,HL CE,41  ?PSEUDOCODE  ?CYCLES 2
ADD BA,#mmnn C0,nn,mm  ?PSEUDOCODE  ?CYCLES 3
BA,BA CE, 0  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 1  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, 2  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, 3  ?PSEUDOCODE  ?CYCLES 2
ADD SP,BA CE,44  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,45  ?PSEUDOCODE  ?CYCLES 2
SP,#mmnn CE,68,nn,mm  ?PSEUDOCODE  ?CYCLES 4
ADD IY,#mmnn C3,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,BA CE,42  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,43  ?PSEUDOCODE  ?CYCLES 2
ADD HL,#mmnn C1,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,BA CE,20  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,21  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,22  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,23  ?PSEUDOCODE  ?CYCLES 2

ADC: Addition with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADC BA,BA CE, 4  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 5  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, 6  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, 7  ?PSEUDOCODE  ?CYCLES 2
BA,#mmnn CE,60,nn,mm  ?PSEUDOCODE  ?CYCLES 4
ADC HL,BA CE,24  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,25  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,26  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,27  ?PSEUDOCODE  ?CYCLES 2
HL,#mmnn CE,61,nn,mm  ?PSEUDOCODE  ?CYCLES 4

SUB: Subtraction

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SUB IX,#mmnn D2,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IX,BA CE,48  ?PSEUDOCODE  ?CYCLES 2
IX,HL CE,49  ?PSEUDOCODE  ?CYCLES 2
SUB BA,#mmnn D0,nn,mm  ?PSEUDOCODE  ?CYCLES 3
BA,BA CE, 8  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 9  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, A  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, B  ?PSEUDOCODE  ?CYCLES 2
SUB SP,BA CE,4C  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,4D  ?PSEUDOCODE  ?CYCLES 2
SP,#mmnn CE,6A,nn,mm  ?PSEUDOCODE  ?CYCLES 4
SUB IY,#mmnn D3,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,BA CE,4A  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,4B  ?PSEUDOCODE  ?CYCLES 2
SUB HL,#mmnn D1,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,BA CE,28  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,29  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,2A  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,2B  ?PSEUDOCODE  ?CYCLES 2

SBC: Subtraction with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SBC BA,BA CE, C  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, D  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, E  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, F  ?PSEUDOCODE  ?CYCLES 2
BA,#mmnn CE,62,nn,mm  ?PSEUDOCODE  ?CYCLES 4
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

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CP IX,#mmnn D6,nn,mm  ?PSEUDOCODE  ?CYCLES 3
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
CP IY,#mmnn D7,nn,mm  ?PSEUDOCODE  ?CYCLES 3
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
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

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INC IX 92  ?PSEUDOCODE  ?CYCLES 1
INC BA 90  ?PSEUDOCODE  ?CYCLES 1
INC HL 91  ?PSEUDOCODE  ?CYCLES 1
INC IY 93  ?PSEUDOCODE  ?CYCLES 1
INC SP 87  ?PSEUDOCODE  ?CYCLES 1

DEC: 1 decrement

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DEC IX 9A  ?PSEUDOCODE  ?CYCLES 1
DEC BA 98  ?PSEUDOCODE  ?CYCLES 1
DEC HL 99  ?PSEUDOCODE  ?CYCLES 1
DEC IY 9B  ?PSEUDOCODE  ?CYCLES 1
DEC SP 8F  ?PSEUDOCODE  ?CYCLES 1

16-bit transfer

LD: Load

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
LD IY,[hhll] BB,ll,hh  ?PSEUDOCODE  ?CYCLES 3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2
BR,A CE,C2  ?PSEUDOCODE  ?CYCLES 2
LD [IX+L],A CE,46  ?PSEUDOCODE  ?CYCLES 2
[IX+L],B CE,4E  ?PSEUDOCODE  ?CYCLES 2
[IX+L],L CE,56  ?PSEUDOCODE  ?CYCLES 2
[IX+L],H CE,5E  ?PSEUDOCODE  ?CYCLES 2
LD HL,[hhll] B9,ll,hh  ?PSEUDOCODE  ?CYCLES 3
HL,#mmnn C5,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,[SP+dd] CE,71,dd  ?PSEUDOCODE  ?CYCLES 3
HL,[HL] CE,C1  ?PSEUDOCODE  ?CYCLES 2
HL,[IX] CE,D1  ?PSEUDOCODE  ?CYCLES 2
HL,[IY] CE,D9  ?PSEUDOCODE  ?CYCLES 2
HL,BA CE,E4  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,E5  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,E6  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,E7  ?PSEUDOCODE  ?CYCLES 2
HL,SP CE,F4  ?PSEUDOCODE  ?CYCLES 2
HL,PC CE,F5  ?PSEUDOCODE  ?CYCLES 2
LD [IY+L],A CE,47  ?PSEUDOCODE  ?CYCLES 2
[IY+L],B CE,4F  ?PSEUDOCODE  ?CYCLES 2
[IY+L],L CE,57  ?PSEUDOCODE  ?CYCLES 2
[IY+L],H CE,5F  ?PSEUDOCODE  ?CYCLES 2
LD YP,#pp CE,C7,pp  ?PSEUDOCODE  ?CYCLES 3
YP,A CE,CF  ?PSEUDOCODE  ?CYCLES 2
LD [IY],A 70  ?PSEUDOCODE  ?CYCLES 1
[IY],B 71  ?PSEUDOCODE  ?CYCLES 1
[IY],L 72  ?PSEUDOCODE  ?CYCLES 1
[IY],H 73  ?PSEUDOCODE  ?CYCLES 1
[IY],[BR:ll] 74,ll  ?PSEUDOCODE  ?CYCLES 2
[IY],[HL] 75  ?PSEUDOCODE  ?CYCLES 1
[IY],[IX] 76  ?PSEUDOCODE  ?CYCLES 1
[IY],[IY] 77  ?PSEUDOCODE  ?CYCLES 1
[IY],#nn B7,nn  ?PSEUDOCODE  ?CYCLES 2
[IY],[IX+dd] CE,78,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IY+dd] CE,79,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IX+L] CE,7A  ?PSEUDOCODE  ?CYCLES 2
[IY],[IY+L] CE,7B  ?PSEUDOCODE  ?CYCLES 2
[IY],BA CE,DC  ?PSEUDOCODE  ?CYCLES 2
[IY],HL CE,DD  ?PSEUDOCODE  ?CYCLES 2
[IY],IX CE,DE  ?PSEUDOCODE  ?CYCLES 2
[IY],IY CE,DF  ?PSEUDOCODE  ?CYCLES 2
LD [BR:ll],A 78,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],B 79,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],L 7A,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],H 7B,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[HL] 7D,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IX] 7E,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IY] 7F,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],#nn DD,ll,nn  ?PSEUDOCODE  ?CYCLES 3
LD [SP+dd],BA CE,74,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],HL CE,75,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IX CE,76,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IY CE,77,dd  ?PSEUDOCODE  ?CYCLES 3
LD [IY+dd],A CE,45,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],B CE,4D,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],L CE,55,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],H CE,5D,dd  ?PSEUDOCODE  ?CYCLES 3
LD A,A 40  ?PSEUDOCODE  ?CYCLES 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ODE  ?CYCLES 1
[HL],H 6B  ?PSEUDOCODE  ?CYCLES 1
[HL],[BR:ll] 6C,ll  ?PSEUDOCODE  ?CYCLES 2
[HL],[HL] 6D  ?PSEUDOCODE  ?CYCLES 1
[HL],[IX] 6E  ?PSEUDOCODE  ?CYCLES 1
[HL],[IY] 6F  ?PSEUDOCODE  ?CYCLES 1
[HL],#nn B5,nn  ?PSEUDOCODE  ?CYCLES 2
[HL],[IX+dd] CE,60,dd  ?PSEUDOCODE  ?CYCLES 3
[HL],[IY+dd] CE,61,dd  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX+L] CE,62  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY+L] CE,63  ?PSEUDOCODE  ?CYCLES 2
[HL],BA CE,C4  ?PSEUDOCODE  ?CYCLES 2
[HL],HL CE,C5  ?PSEUDOCODE  ?CYCLES 2
[HL],IX CE,C6  ?PSEUDOCODE  ?CYCLES 2
[HL],IY CE,C7  ?PSEUDOCODE  ?CYCLES 2
LD L,A 50  ?PSEUDOCODE  ?CYCLES 1
L,B 51  ?PSEUDOCODE  ?CYCLES 1
L,L 52  ?PSEUDOCODE  ?CYCLES 1
L,H 53  ?PSEUDOCODE  ?CYCLES 1
L,[BR:ll] 54,ll  ?PSEUDOCODE  ?CYCLES 2
L,[HL] 55  ?PSEUDOCODE  ?CYCLES 1
L,[IX] 56  ?PSEUDOCODE  ?CYCLES 1
L,[IY] 57  ?PSEUDOCODE  ?CYCLES 1
L,#nn B2,nn  ?PSEUDOCODE  ?CYCLES 2
L,[IX+dd] CE,50,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IY+dd] CE,51,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IX+L] CE,52  ?PSEUDOCODE  ?CYCLES 2
L,[IY+L] CE,53  ?PSEUDOCODE  ?CYCLES 2
L,[hhll] CE,D2,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD [hhll],BA BC,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],HL BD,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IX BE,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IY BF,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],A CE,D4,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],B CE,D5,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],L CE,D6,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],H CE,D7,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],SP CE,7C,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD XP,#pp CE,C6,pp  ?PSEUDOCODE  ?CYCLES 3
XP,A CE,CE  ?PSEUDOCODE  ?CYCLES 2
LD EP,#pp CE,C5,pp  ?PSEUDOCODE  ?CYCLES 3
EP,A CE,CD  ?PSEUDOCODE  ?CYCLES 2
LD [IX],A 60  ?PSEUDOCODE  ?CYCLES 1
[IX],B 61  ?PSEUDOCODE  ?CYCLES 1
[IX],L 62  ?PSEUDOCODE  ?CYCLES 1
[IX],H 63  ?PSEUDOCODE  ?CYCLES 1
[IX],[BR:ll] 64,ll  ?PSEUDOCODE  ?CYCLES 2
[IX],[HL] 65  ?PSEUDOCODE  ?CYCLES 1
[IX],[IX] 66  ?PSEUDOCODE  ?CYCLES 1
[IX],[IY] 67  ?PSEUDOCODE  ?CYCLES 1
[IX],#nn B6,nn  ?PSEUDOCODE  ?CYCLES 2
[IX],[IX+dd] CE,68,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IY+dd] CE,69,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IX+L] CE,6A  ?PSEUDOCODE  ?CYCLES 2
[IX],[IY+L] CE,6B  ?PSEUDOCODE  ?CYCLES 2
[IX],BA CE,D4  ?PSEUDOCODE  ?CYCLES 2
[IX],HL CE,D5  ?PSEUDOCODE  ?CYCLES 2
[IX],IX CE,D6  ?PSEUDOCODE  ?CYCLES 2
[IX],IY CE,D7  ?PSEUDOCODE  ?CYCLES 2
LD [IX+dd],A CE,44,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],B CE,4C,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],L CE,54,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],H CE,5C,dd  ?PSEUDOCODE  ?CYCLES 3
LD SC,#nn 9F,nn  ?PSEUDOCODE  ?CYCLES 2
SC,A CE,C3  ?PSEUDOCODE  ?CYCLES 2
LD NB,#bb CE,C4,bb  ?PSEUDOCODE  ?CYCLES 3
NB,A CE,CC  ?PSEUDOCODE  ?CYCLES 2

EX: Byte exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
EX BA,HL C8  ?PSEUDOCODE  ?CYCLES 1
BA,IX C9  ?PSEUDOCODE  ?CYCLES 1
BA,IY CA  ?PSEUDOCODE  ?CYCLES 1
BA,SP CB  ?PSEUDOCODE  ?CYCLES 1

Stack Control

PUSH: Push

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
PUSH IY A3  ?PSEUDOCODE  ?CYCLES 1
PUSH IX A2  ?PSEUDOCODE  ?CYCLES 1
PUSH ALL CE,B8  ?PSEUDOCODE  ?CYCLES 2
PUSH B CE,B1  ?PSEUDOCODE  ?CYCLES 2
PUSH BA A0  ?PSEUDOCODE  ?CYCLES 1
PUSH IP A6  ?PSEUDOCODE  ?CYCLES 1
PUSH ALE CE,B9  ?PSEUDOCODE  ?CYCLES 2
PUSH L CE,B2  ?PSEUDOCODE  ?CYCLES 2
PUSH HL A1  ?PSEUDOCODE  ?CYCLES 1
PUSH A CE,B0  ?PSEUDOCODE  ?CYCLES 2
PUSH BR A4  ?PSEUDOCODE  ?CYCLES 1
PUSH H CE,B3  ?PSEUDOCODE  ?CYCLES 2
PUSH SC A7  ?PSEUDOCODE  ?CYCLES 1
PUSH EP A5  ?PSEUDOCODE  ?CYCLES 1

POP: Pop

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
POP IY AB  ?PSEUDOCODE  ?CYCLES 1
POP IX AA  ?PSEUDOCODE  ?CYCLES 1
POP ALL CE,BC  ?PSEUDOCODE  ?CYCLES 2
POP B CE,B5  ?PSEUDOCODE  ?CYCLES 2
POP BA A8  ?PSEUDOCODE  ?CYCLES 1
POP IP AE  ?PSEUDOCODE  ?CYCLES 1
POP ALE CE,BD  ?PSEUDOCODE  ?CYCLES 2
POP L CE,B6  ?PSEUDOCODE  ?CYCLES 2
POP HL A9  ?PSEUDOCODE  ?CYCLES 1
POP A CE,B4  ?PSEUDOCODE  ?CYCLES 2
POP BR AC  ?PSEUDOCODE  ?CYCLES 1
POP H CE,B7  ?PSEUDOCODE  ?CYCLES 2
POP SC AF  ?PSEUDOCODE  ?CYCLES 1
POP EP AD  ?PSEUDOCODE  ?CYCLES 1

Branch

JRS: Relative short jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JRS F0,rr CE,E8,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F1,rr CE,E9,rr  ?PSEUDOCODE  ?CYCLES 3
JRS C,rr E4,rr  ?PSEUDOCODE  ?CYCLES 2
JRS LE,rr CE,E1,rr  ?PSEUDOCODE  ?CYCLES 3
JRS GE,rr CE,E3,rr  ?PSEUDOCODE  ?CYCLES 3
JRS rr F1,rr  ?PSEUDOCODE  ?CYCLES 2
JRS NC,rr E5,rr  ?PSEUDOCODE  ?CYCLES 2
JRS M,rr CE,E7,rr  ?PSEUDOCODE  ?CYCLES 3
JRS LT,rr CE,E0,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F3,rr CE,EB,rr  ?PSEUDOCODE  ?CYCLES 3
JRS P,rr CE,E6,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NZ,rr E7,rr  ?PSEUDOCODE  ?CYCLES 2
JRS GT,rr CE,E2,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF3,rr CE,EF,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF2,rr CE,EE,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF1,rr CE,ED,rr  ?PSEUDOCODE  ?CYCLES 3
JRS V,rr CE,E4,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F2,rr CE,EA,rr  ?PSEUDOCODE  ?CYCLES 3
JRS Z,rr E6,rr  ?PSEUDOCODE  ?CYCLES 2
JRS NF0,rr CE,EC,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NV,rr CE,E5,rr  ?PSEUDOCODE  ?CYCLES 3

JRL: Relative long jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JRL C,qqrr EC,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL NC,qqrr ED,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL Z,qqrr EE,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL NZ,qqrr EF,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL qqrr F3,rr,qq  ?PSEUDOCODE  ?CYCLES 3

JP: Indirect jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JP [kk] FD,kk  ?PSEUDOCODE  ?CYCLES 2
JP HL F4  ?PSEUDOCODE  ?CYCLES 1

DJR: Loop

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DJR NZ,rr F5,rr  ?PSEUDOCODE  ?CYCLES 2

CARS: Relative short call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CARS F0,rr CE,F8,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F1,rr CE,F9,rr  ?PSEUDOCODE  ?CYCLES 3
CARS C,rr E0,rr  ?PSEUDOCODE  ?CYCLES 2
CARS LE,rr CE,F1,rr  ?PSEUDOCODE  ?CYCLES 3
CARS GE,rr CE,F3,rr  ?PSEUDOCODE  ?CYCLES 3
CARS rr F0,rr  ?PSEUDOCODE  ?CYCLES 2
CARS NC,rr E1,rr  ?PSEUDOCODE  ?CYCLES 2
CARS M,rr CE,F7,rr  ?PSEUDOCODE  ?CYCLES 3
CARS LT,rr CE,F0,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F3,rr CE,FB,rr  ?PSEUDOCODE  ?CYCLES 3
CARS P,rr CE,F6,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NZ,rr E3,rr  ?PSEUDOCODE  ?CYCLES 2
CARS GT,rr CE,F2,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF3,rr CE,FF,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF2,rr CE,FE,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF1,rr CE,FD,rr  ?PSEUDOCODE  ?CYCLES 3
CARS V,rr CE,F4,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F2,rr CE,FA,rr  ?PSEUDOCODE  ?CYCLES 3
CARS Z,rr E2,rr  ?PSEUDOCODE  ?CYCLES 2
CARS NF0,rr CE,FC,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NV,rr CE,F5,rr  ?PSEUDOCODE  ?CYCLES 3

CARL: Relative long call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CARL C,qqrr E8,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL NC,qqrr E9,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL Z,qqrr EA,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL NZ,qqrr EB,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL qqrr F2,rr,qq  ?PSEUDOCODE  ?CYCLES 3

CALL: Indirect call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CALL [hhll] FB,ll,hh  ?PSEUDOCODE  ?CYCLES 3

RET: Return

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RET F8  ?PSEUDOCODE  ?CYCLES 1

RETE: Exception processing return

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RETE F9  ?PSEUDOCODE  ?CYCLES 1

RETS: Return and skip

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RETS FA  ?PSEUDOCODE  ?CYCLES 1

INT: Software interrupt

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INT [kk] FC,kk  ?PSEUDOCODE  ?CYCLES 2

System Control

NOP: No operation

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
NOP FF  ?PSEUDOCODE  ?CYCLES 1

HALT: Shifts to HALT status

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
HALT CE,AE  ?PSEUDOCODE  ?CYCLES 2

SLP: Shifts to SLEEP status

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLP CE,AF  ?PSEUDOCODE  ?CYCLES 2

Operation Code Map

1st operation code

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD A,A ADD A,B ADD A,#nn ADD A,[HL] ADD A,[BR:ll] ADD A,[hhll] ADD A,[IX] ADD A,[IY] ADC A,A ADC A,B ADC A,#nn ADC A,[HL] ADC A,[BR:ll] ADC A,[hhll] ADC A,[IX] ADC A,[IY]
1x SUB A,A SUB A,B SUB A,#nn SUB A,[HL] SUB A,[BR:ll] SUB A,[hhll] SUB A,[IX] SUB A,[IY] SBC A,A SBC A,B SBC A,#nn SBC A,[HL] SBC A,[BR:ll] SBC A,[hhll] SBC A,[IX] SBC A,[IY]
2x AND A,A AND A,B AND A,#nn AND A,[HL] AND A,[BR:ll] AND A,[hhll] AND A,[IX] AND A,[IY] OR A,A OR A,B OR A,#nn OR A,[HL] OR A,[BR:ll] OR A,[hhll] OR A,[IX] OR A,[IY]
3x CP A,A CP A,B CP A,#nn CP A,[HL] CP A,[BR:ll] CP A,[hhll] CP A,[IX] CP A,[IY] XOR A,A XOR A,B XOR A,#nn XOR A,[HL] XOR A,[BR:ll] XOR A,[hhll] XOR A,[IX] XOR A,[IY]
4x LD A,A LD A,B LD A,L LD A,H LD A,[BR:ll] LD A,[HL] LD A,[IX] LD A,[IY] LD B,A LD B,B LD B,L LD B,H LD B,[BR:ll] LD B,[HL] LD B,[IX] LD B,[IY]
5x LD L,A LD L,B LD L,L LD L,H LD L,[BR:ll] LD L,[HL] LD L,[IX] LD L,[IY] LD H,A LD H,B LD H,L LD H,H LD H,[BR:ll] LD H,[HL] LD H,[IX] LD H,[IY]
6x LD [IX],A LD [IX],B LD [IX],L LD [IX],H LD [IX],[BR:ll] LD [IX],[HL] LD [IX],[IX] LD [IX],[IY] LD [HL],A LD [HL],B LD [HL],L LD [HL],H LD [HL],[BR:ll] LD [HL],[HL] LD [HL],[IX] LD [HL],[IY]
7x LD [IY],A LD [IY],B LD [IY],L LD [IY],H LD [IY],[BR:ll] LD [IY],[HL] LD [IY],[IX] LD [IY],[IY] LD [BR:ll],A LD [BR:ll],B LD [BR:ll],L LD [BR:ll],H LD [BR:ll],[HL] LD [BR:ll],[IX] LD [BR:ll],[IY]
8x INC A INC B INC L INC H INC BR INC [BR:ll] INC [HL] INC SP DEC A DEC B DEC L DEC H DEC BR DEC [BR:ll] DEC [HL] DEC SP
9x INC BA INC HL INC IX INC IY BIT A,B BIT [HL],#nn BIT A,#nn BIT B,#nn DEC BA DEC HL DEC IX DEC IY AND SC,#nn OR SC,#nn XOR SC,#nn LD SC,#nn
Ax PUSH BA PUSH HL PUSH IX PUSH IY PUSH BR PUSH EP PUSH IP PUSH SC POP BA POP HL POP IX POP IY POP BR POP EP POP IP POP SC
Bx LD A,#nn LD B,#nn LD L,#nn LD H,#nn LD BR,#hh LD [HL],#nn LD [IX],#nn LD [IY],#nn LD BA,[hhll] LD HL,[hhll] LD IX,[hhll] LD IY,[hhll] LD [hhll],BA LD [hhll],HL LD [hhll],IX LD [hhll],IY
Cx ADD BA,#mmnn ADD HL,#mmnn ADD IX,#mmnn ADD IY,#mmnn LD BA,#mmnn LD HL,#mmnn LD IX,#mmnn LD IY,#mmnn EX BA,HL EX BA,IX EX BA,IY EX BA,SP EX A,B EX A,[HL] Expansion Code Expansion Code
Dx SUB BA,#mmnn SUB HL,#mmnn SUB IX,#mmnn SUB IY,#mmnn CP BA,#mmnn CP HL,#mmnn CP IX,#mmnn CP IY,#mmnn AND [BR:ll],#nn OR [BR:ll],#nn XOR [BR:ll],#nn CP [BR:ll],#nn BIT [BR:ll],#nn LD [BR:ll],#nn PACK UPCK
Ex CARS C,rr CARS NC,rr CARS Z,rr CARS NZ,rr JRS C,rr JRS NC,rr JRS Z,rr JRS NZ,rr CARL C,qqrr CARL NC,qqrr CARL Z,qqrr CARL NZ,qqrr JRL C,qqrr JRL NC,qqrr JRL Z,qqrr JRL NZ,qqrr
Fx CARS rr JRS rr CARL qqrr JRL qqrr JP HL DJR NZ,rr SWAP A SWAP [HL] RET RETE RETS CALL [hhll] INT [kk] JP [kk] NOP

2nd operation code (1st operation code = CE)

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD A,[IX+dd] ADD A,[IY+dd] ADD A,[IX+L] ADD A,[IY+L] ADD [HL],A ADD [HL],#nn ADD [HL],[IX] ADD [HL],[IY] ADC A,[IX+dd] ADC A,[IY+dd] ADC A,[IX+L] ADC A,[IY+L] ADC [HL],A ADC [HL],#nn ADC [HL],[IX] ADC [HL],[IY]
1x SUB A,[IX+dd] SUB A,[IY+dd] SUB A,[IX+L] SUB A,[IY+L] SUB [HL],A SUB [HL],#nn SUB [HL],[IX] SUB [HL],[IY] SBC A,[IX+dd] SBC A,[IY+dd] SBC A,[IX+L] SBC A,[IY+L] SBC [HL],A SBC [HL],#nn SBC [HL],[IX] SBC [HL],[IY]
2x AND A,[IX+dd] AND A,[IY+dd] AND A,[IX+L] AND A,[IY+L] AND [HL],A AND [HL],#nn AND [HL],[IX] AND [HL],[IY] OR A,[IX+dd] OR A,[IY+dd] OR A,[IX+L] OR A,[IY+L] OR [HL],A OR [HL],#nn OR [HL],[IX] OR [HL],[IY]
3x CP A,[IX+dd] CP A,[IY+dd] CP A,[IX+L] CP A,[IY+L] CP [HL],A CP [HL],#nn CP [HL],[IX] CP [HL],[IY] XOR A,[IX+dd] XOR A,[IY+dd] XOR A,[IX+L] XOR A,[IY+L] XOR [HL],A XOR [HL],#nn XOR [HL],[IX] XOR [HL],[IY]
4x LD A,[IX+dd] LD A,[IY+dd] LD A,[IX+L] LD A,[IY+L] LD [IX+dd],A LD [IY+dd],A LD [IX+L],A LD [IY+L],A LD B,[IX+dd] LD B,[IY+dd] LD B,[IX+L] LD B,[IY+L] LD [IX+dd],B LD [IY+dd],B LD [IX+L],B LD [IY+L],B
5x LD L,[IX+dd] LD L,[IY+dd] LD L,[IX+L] LD L,[IY+L] LD [IX+dd],L LD [IY+dd],L LD [IX+L],L LD [IY+L],L LD H,[IX+dd] LD H,[IY+dd] LD H,[IX+L] LD H,[IY+L] LD [IX+dd],H LD [IY+dd],H LD [IX+L],H LD [IY+L],H
6x LD [HL],[IX+dd] LD [HL],[IY+dd] LD [HL],[IX+L] LD [HL],[IY+L] LD [IX],[IX+dd] LD [IX],[IY+dd] LD [IX],[IX+L] LD [IX],[IY+L]
7x LD [IY],[IX+dd] LD [IY],[IY+dd] LD [IY],[IX+L] LD [IY],[IY+L]
8x SLA A SLA B SLA [BR:ll] SLA [HL] SLL A SLL B SLL [BR:ll] SLL [HL] SRA A SRA B SRA [BR:ll] SRA [HL] SRL A SRL B SRL [BR:ll] SRL [HL]
9x RL A RL B RL [BR:ll] RL [HL] RLC A RLC B RLC [BR:ll] RLC [HL] RR A RR B RR [BR:ll] RR [HL] RRC A RRC B RRC [BR:ll] RRC [HL]
Ax CPL A CPL B CPL [BR:ll] CPL [HL] NEG A NEG B NEG [BR:ll] NEG [HL] SEP HALT SLP
Bx AND B,#nn AND L,#nn AND H,#nn OR B,#nn OR L,#nn OR H,#nn XOR B,#nn XOR L,#nn XOR H,#nn CP B,#nn CP L,#nn CP H,#nn CP BR,#hh
Cx LD A,BR LD A,SC LD BR,A LD SC,A LD NB,#bb LD EP,#pp LD XP,#pp LD YP,#pp LD A,NB LD A,EP LD A,XP LD A,YP LD NB,A LD EP,A LD XP,A LD YP,A
Dx LD A,[hhll] LD B,[hhll] LD L,[hhll] LD H,[hhll] LD [hhll],A LD [hhll],B LD [hhll],L LD [hhll],H MLT DIV
Ex JRS LT,rr JRS LE,rr JRS GT,rr JRS GE,rr JRS V,rr JRS NV,rr JRS P,rr JRS M,rr JRS F0,rr JRS F1,rr JRS F2,rr JRS F3,rr JRS NF0,rr JRS NF1,rr JRS NF2,rr JRS NF3,rr
Fx CARS LT,rr CARS LE,rr CARS GT,rr CARS GE,rr CARS V,rr CARS NV,rr CARS P,rr CARS M,rr CARS F0,rr CARS F1,rr CARS F2,rr CARS F3,rr CARS NF0,rr CARS NF1,rr CARS NF2,rr CARS NF3,rr

3nd operation code (1st operation code = CF)

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD BA,BA ADD BA,HL ADD BA,IX ADD BA,IY ADC BA,BA ADC BA,HL ADC BA,IX ADC BA,IY SUB BA,BA SUB BA,HL SUB BA,IX SUB BA,IY SBC BA,BA SBC BA,HL SBC BA,IX SBC BA,IY
1x CP BA,BA CP BA,HL CP BA,IX CP BA,IY
2x ADD HL,BA ADD HL,HL ADD HL,IX ADD HL,IY ADC HL,BA ADC HL,HL ADC HL,IX ADC HL,IY SUB HL,BA SUB HL,HL SUB HL,IX SUB HL,IY SBC HL,BA SBC HL,HL SBC HL,IX SBC HL,IY
3x CP HL,BA CP HL,HL CP HL,IX CP HL,IY
4x ADD IX,BA ADD IX,HL ADD IY,BA ADD IY,HL ADD SP,BA ADD SP,HL SUB IX,BA SUB IX,HL SUB IY,BA SUB IY,HL SUB SP,BA SUB SP,HL
5x CP SP,BA CP SP,HL
6x ADC BA,#mmnn ADC HL,#mmnn SBC BA,#mmnn SBC HL,#mmnn ADD SP,#mmnn SUB SP,#mmnn CP SP,#mmnn LD SP,#mmnn
7x LD BA,[SP+dd] LD HL,[SP+dd] LD IX,[SP+dd] LD IY,[SP+dd] LD [SP+dd],BA LD [SP+dd],HL LD [SP+dd],IX LD [SP+dd],IY LD SP,[hhll] LD [hhll],SP
8x
9x
Ax
Bx PUSH A PUSH B PUSH L PUSH H POP A POP B POP L POP H PUSH ALL PUSH ALE POP ALL POP ALE
Cx LD BA,[HL] LD HL,[HL] LD IX,[HL] LD IY,[HL] LD [HL],BA LD [HL],HL LD [HL],IX LD [HL],IY
Dx LD BA,[IX] LD HL,[IX] LD IX,[IX] LD IY,[IX] LD [IX],BA LD [IX],HL LD [IX],IX LD [IX],IY LD BA,[IY] LD HL,[IY] LD IX,[IY] LD IY,[IY] LD [IY],BA LD [IY],HL LD [IY],IX LD [IY],IY
Ex LD BA,BA LD BA,HL LD BA,IX LD BA,IY LD HL,BA LD HL,HL LD HL,IX LD HL,IY LD IX,BA LD IX,HL LD IX,IX LD IX,IY LD IY,BA LD IY,HL LD IY,IX LD IY,IY
Fx LD SP,BA LD SP,HL LD SP,IX LD SP,IY LD HL,SP LD HL,PC LD BA,SP LD BA,PC LD IX,SP LD IY,SP

Illegal Instructions

NOTE: This document is now out of date, as should be updated to the new mnemonic and register naming

The entire opcode table has been evaluated on Pokemon Mini units and new and exotic illegal opcodes have been found.

These opcodes are not officially supported (they are not used by commercial games and not even found in the Pokemon Channel emulator) and can produce random results or crashes in some cases. The illegal opcodes have been documented on this page's Discussion page. THIS PAGE IS IN PROCESS

8-bit arithmetic and logic operation

ADD: Addition

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADD A,A 0  ?PSEUDOCODE  ?CYCLES 1
A,B 1  ?PSEUDOCODE  ?CYCLES 1
A,#nn 2,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 3  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 4,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 5,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 6  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 7  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE, 0,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE, 1,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE, 2  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE, 3  ?PSEUDOCODE  ?CYCLES 2
ADD [HL],A CE, 4  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE, 5,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE, 6  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE, 7  ?PSEUDOCODE  ?CYCLES 2

ADC: Addition with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADC A,A 8  ?PSEUDOCODE  ?CYCLES 1
A,B 9  ?PSEUDOCODE  ?CYCLES 1
A,#nn A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE, 8,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE, 9,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE, A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE, B  ?PSEUDOCODE  ?CYCLES 2
ADC [HL],A CE, C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE, D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE, E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE, F  ?PSEUDOCODE  ?CYCLES 2

SUB: Subtraction

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SUB A,A 10  ?PSEUDOCODE  ?CYCLES 1
A,B 11  ?PSEUDOCODE  ?CYCLES 1
A,#nn 12,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 13  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 14,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 15,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 16  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 17  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,10,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,11,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,12  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,13  ?PSEUDOCODE  ?CYCLES 2
SUB [HL],A CE,14  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,15,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,16  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,17  ?PSEUDOCODE  ?CYCLES 2

SBC: Subtraction with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SBC A,A 18  ?PSEUDOCODE  ?CYCLES 1
A,B 19  ?PSEUDOCODE  ?CYCLES 1
A,#nn 1A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 1B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 1C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 1D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 1E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 1F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,18,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,19,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,1A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,1B  ?PSEUDOCODE  ?CYCLES 2
SBC [HL],A CE,1C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,1D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,1E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,1F  ?PSEUDOCODE  ?CYCLES 2


AND: Logical product

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
AND A,A 20  ?PSEUDOCODE  ?CYCLES 1
A,B 21  ?PSEUDOCODE  ?CYCLES 1
A,#nn 22,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 23  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 24,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 25,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 26  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 27  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,20,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,21,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,22  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,23  ?PSEUDOCODE  ?CYCLES 2
AND B,#nn CE,B0,nn  ?PSEUDOCODE  ?CYCLES 3
AND H,#nn CE,B2,nn  ?PSEUDOCODE  ?CYCLES 3
AND [BR:ll],#nn D8,ll,nn  ?PSEUDOCODE  ?CYCLES 3
AND [HL],A CE,24  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,25,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,26  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,27  ?PSEUDOCODE  ?CYCLES 2
AND L,#nn CE,B1,nn  ?PSEUDOCODE  ?CYCLES 3
AND SC,#nn 9C,nn  ?PSEUDOCODE  ?CYCLES 2

OR: Logical sum

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
OR A,A 28  ?PSEUDOCODE  ?CYCLES 1
A,B 29  ?PSEUDOCODE  ?CYCLES 1
A,#nn 2A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 2B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 2C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 2D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 2E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 2F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,28,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,29,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,2A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,2B  ?PSEUDOCODE  ?CYCLES 2
OR B,#nn CE,B4,nn  ?PSEUDOCODE  ?CYCLES 3
OR H,#nn CE,B6,nn  ?PSEUDOCODE  ?CYCLES 3
OR [BR:ll],#nn D9,ll,nn  ?PSEUDOCODE  ?CYCLES 3
OR [HL],A CE,2C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,2D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,2E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,2F  ?PSEUDOCODE  ?CYCLES 2
OR L,#nn CE,B5,nn  ?PSEUDOCODE  ?CYCLES 3
OR SC,#nn 9D,nn  ?PSEUDOCODE  ?CYCLES 2

XOR: Exclusive OR

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
XOR A,A 38  ?PSEUDOCODE  ?CYCLES 1
A,B 39  ?PSEUDOCODE  ?CYCLES 1
A,#nn 3A,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 3B  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 3C,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 3D,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 3E  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 3F  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,38,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,39,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,3A  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,3B  ?PSEUDOCODE  ?CYCLES 2
XOR B,#nn CE,B8,nn  ?PSEUDOCODE  ?CYCLES 3
XOR H,#nn CE,BA,nn  ?PSEUDOCODE  ?CYCLES 3
XOR [BR:ll],#nn DA,ll,nn  ?PSEUDOCODE  ?CYCLES 3
XOR [HL],A CE,3C  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,3D,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,3E  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,3F  ?PSEUDOCODE  ?CYCLES 2
XOR L,#nn CE,B9,nn  ?PSEUDOCODE  ?CYCLES 3
XOR SC,#nn 9E,nn  ?PSEUDOCODE  ?CYCLES 2

CP: Comparison

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CP A,A 30  ?PSEUDOCODE  ?CYCLES 1
A,B 31  ?PSEUDOCODE  ?CYCLES 1
A,#nn 32,nn  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 33  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 34,ll  ?PSEUDOCODE  ?CYCLES 2
A,[hhll] 35,ll,hh  ?PSEUDOCODE  ?CYCLES 3
A,[IX] 36  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 37  ?PSEUDOCODE  ?CYCLES 1
A,[IX+dd] CE,30,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,31,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,32  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,33  ?PSEUDOCODE  ?CYCLES 2
CP B,#nn CE,BC,nn  ?PSEUDOCODE  ?CYCLES 3
CP H,#nn CE,BE,nn  ?PSEUDOCODE  ?CYCLES 3
CP BR,#hh CE,BF,hh  ?PSEUDOCODE  ?CYCLES 3
CP [BR:ll],#nn DB,ll,nn  ?PSEUDOCODE  ?CYCLES 3
CP [HL],A CE,34  ?PSEUDOCODE  ?CYCLES 2
[HL],#nn CE,35,nn  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX] CE,36  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY] CE,37  ?PSEUDOCODE  ?CYCLES 2
CP L,#nn CE,BD,nn  ?PSEUDOCODE  ?CYCLES 3

BIT: Bit test

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
BIT A,B 94  ?PSEUDOCODE  ?CYCLES 1
A,#nn 96,nn  ?PSEUDOCODE  ?CYCLES 2
BIT B,#nn 97,nn  ?PSEUDOCODE  ?CYCLES 2
BIT [HL],#nn 95,nn  ?PSEUDOCODE  ?CYCLES 2
BIT [BR:ll],#nn DC,ll,nn  ?PSEUDOCODE  ?CYCLES 3

INC: 1 increment

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INC A 80  ?PSEUDOCODE  ?CYCLES 1
INC B 81  ?PSEUDOCODE  ?CYCLES 1
INC H 83  ?PSEUDOCODE  ?CYCLES 1
INC [BR:ll] 85,ll  ?PSEUDOCODE  ?CYCLES 2
INC [HL] 86  ?PSEUDOCODE  ?CYCLES 1
INC L 82  ?PSEUDOCODE  ?CYCLES 1
INC BR 84  ?PSEUDOCODE  ?CYCLES 1

DEC: 1 decrement

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DEC A 88  ?PSEUDOCODE  ?CYCLES 1
DEC B 89  ?PSEUDOCODE  ?CYCLES 1
DEC H 8B  ?PSEUDOCODE  ?CYCLES 1
DEC [BR:ll] 8D,ll  ?PSEUDOCODE  ?CYCLES 2
DEC [HL] 8E  ?PSEUDOCODE  ?CYCLES 1
DEC L 8A  ?PSEUDOCODE  ?CYCLES 1
DEC BR 8C  ?PSEUDOCODE  ?CYCLES 1

MLT: Multiplication

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
MLT CE,D8  ?PSEUDOCODE  ?CYCLES 2 0 0

DIV: Division

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DIV CE,D9  ?PSEUDOCODE  ?CYCLES 2 0

CPL: Complement of 1

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CPL A CE,A0  ?PSEUDOCODE  ?CYCLES 2
CPL B CE,A1  ?PSEUDOCODE  ?CYCLES 2
CPL [HL] CE,A3  ?PSEUDOCODE  ?CYCLES 2
CPL [BR:ll] CE,A2,ll  ?PSEUDOCODE  ?CYCLES 3

NEG: Complement of 2

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
NEG A CE,A4  ?PSEUDOCODE  ?CYCLES 2
NEG B CE,A5  ?PSEUDOCODE  ?CYCLES 2
NEG [HL] CE,A7  ?PSEUDOCODE  ?CYCLES 2
NEG [BR:ll] CE,A6,ll  ?PSEUDOCODE  ?CYCLES 3

8-bit transfer

LD: Load

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
LD IY,[hhll] BB,ll,hh  ?PSEUDOCODE  ?CYCLES 3
IY,#mmnn C7,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,[SP+dd] CE,73,dd  ?PSEUDOCODE  ?CYCLES 3
IY,[HL] CE,C3  ?PSEUDOCODE  ?CYCLES 2
IY,[IX] CE,D3  ?PSEUDOCODE  ?CYCLES 2
IY,[IY] CE,DB  ?PSEUDOCODE  ?CYCLES 2
IY,BA CE,EC  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,ED  ?PSEUDOCODE  ?CYCLES 2
IY,IX CE,EE  ?PSEUDOCODE  ?CYCLES 2
IY,IY CE,EF  ?PSEUDOCODE  ?CYCLES 2
IY,SP CE,FE  ?PSEUDOCODE  ?CYCLES 2
LD SP,#mmnn CE,6E,nn,mm  ?PSEUDOCODE  ?CYCLES 4
SP,[hhll] CE,78,ll,hh  ?PSEUDOCODE  ?C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ES 2
HL,HL CE,E5  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,E6  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,E7  ?PSEUDOCODE  ?CYCLES 2
HL,SP CE,F4  ?PSEUDOCODE  ?CYCLES 2
HL,PC CE,F5  ?PSEUDOCODE  ?CYCLES 2
LD [IY+L],A CE,47  ?PSEUDOCODE  ?CYCLES 2
[IY+L],B CE,4F  ?PSEUDOCODE  ?CYCLES 2
[IY+L],L CE,57  ?PSEUDOCODE  ?CYCLES 2
[IY+L],H CE,5F  ?PSEUDOCODE  ?CYCLES 2
LD YP,#pp CE,C7,pp  ?PSEUDOCODE  ?CYCLES 3
YP,A CE,CF  ?PSEUDOCODE  ?CYCLES 2
LD [IY],A 70  ?PSEUDOCODE  ?CYCLES 1
[IY],B 71  ?PSEUDOCODE  ?CYCLES 1
[IY],L 72  ?PSEUDOCODE  ?CYCLES 1
[IY],H 73  ?PSEUDOCODE  ?CYCLES 1
[IY],[BR:ll] 74,ll  ?PSEUDOCODE  ?CYCLES 2
[IY],[HL] 75  ?PSEUDOCODE  ?CYCLES 1
[IY],[IX] 76  ?PSEUDOCODE  ?CYCLES 1
[IY],[IY] 77  ?PSEUDOCODE  ?CYCLES 1
[IY],#nn B7,nn  ?PSEUDOCODE  ?CYCLES 2
[IY],[IX+dd] CE,78,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IY+dd] CE,79,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IX+L] CE,7A  ?PSEUDOCODE  ?CYCLES 2
[IY],[IY+L] CE,7B  ?PSEUDOCODE  ?CYCLES 2
[IY],BA CE,DC  ?PSEUDOCODE  ?CYCLES 2
[IY],HL CE,DD  ?PSEUDOCODE  ?CYCLES 2
[IY],IX CE,DE  ?PSEUDOCODE  ?CYCLES 2
[IY],IY CE,DF  ?PSEUDOCODE  ?CYCLES 2
LD [BR:ll],A 78,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],B 79,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],L 7A,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],H 7B,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[HL] 7D,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IX] 7E,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IY] 7F,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],#nn DD,ll,nn  ?PSEUDOCODE  ?CYCLES 3
LD [SP+dd],BA CE,74,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],HL CE,75,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IX CE,76,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IY CE,77,dd  ?PSEUDOCODE  ?CYCLES 3
LD [IY+dd],A CE,45,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],B CE,4D,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],L CE,55,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],H CE,5D,dd  ?PSEUDOCODE  ?CYCLES 3
LD A,A 40  ?PSEUDOCODE  ?CYCLES 1
A,B 41  ?PSEUDOCODE  ?CYCLES 1
A,L 42  ?PSEUDOCODE  ?CYCLES 1
A,H 43  ?PSEUDOCODE  ?CYCLES 1
A,[BR:ll] 44,ll  ?PSEUDOCODE  ?CYCLES 2
A,[HL] 45  ?PSEUDOCODE  ?CYCLES 1
A,[IX] 46  ?PSEUDOCODE  ?CYCLES 1
A,[IY] 47  ?PSEUDOCODE  ?CYCLES 1
A,#nn B0,nn  ?PSEUDOCODE  ?CYCLES 2
A,[IX+dd] CE,40,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IY+dd] CE,41,dd  ?PSEUDOCODE  ?CYCLES 3
A,[IX+L] CE,42  ?PSEUDOCODE  ?CYCLES 2
A,[IY+L] CE,43  ?PSEUDOCODE  ?CYCLES 2
A,BR CE,C0  ?PSEUDOCODE  ?CYCLES 2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UDOCODE  ?CYCLES 2
[HL],IX CE,C6  ?PSEUDOCODE  ?CYCLES 2
[HL],IY CE,C7  ?PSEUDOCODE  ?CYCLES 2
LD L,A 50  ?PSEUDOCODE  ?CYCLES 1
L,B 51  ?PSEUDOCODE  ?CYCLES 1
L,L 52  ?PSEUDOCODE  ?CYCLES 1
L,H 53  ?PSEUDOCODE  ?CYCLES 1
L,[BR:ll] 54,ll  ?PSEUDOCODE  ?CYCLES 2
L,[HL] 55  ?PSEUDOCODE  ?CYCLES 1
L,[IX] 56  ?PSEUDOCODE  ?CYCLES 1
L,[IY] 57  ?PSEUDOCODE  ?CYCLES 1
L,#nn B2,nn  ?PSEUDOCODE  ?CYCLES 2
L,[IX+dd] CE,50,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IY+dd] CE,51,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IX+L] CE,52  ?PSEUDOCODE  ?CYCLES 2
L,[IY+L] CE,53  ?PSEUDOCODE  ?CYCLES 2
L,[hhll] CE,D2,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD [hhll],BA BC,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],HL BD,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IX BE,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IY BF,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],A CE,D4,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],B CE,D5,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],L CE,D6,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],H CE,D7,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],SP CE,7C,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD XP,#pp CE,C6,pp  ?PSEUDOCODE  ?CYCLES 3
XP,A CE,CE  ?PSEUDOCODE  ?CYCLES 2
LD EP,#pp CE,C5,pp  ?PSEUDOCODE  ?CYCLES 3
EP,A CE,CD  ?PSEUDOCODE  ?CYCLES 2
LD [IX],A 60  ?PSEUDOCODE  ?CYCLES 1
[IX],B 61  ?PSEUDOCODE  ?CYCLES 1
[IX],L 62  ?PSEUDOCODE  ?CYCLES 1
[IX],H 63  ?PSEUDOCODE  ?CYCLES 1
[IX],[BR:ll] 64,ll  ?PSEUDOCODE  ?CYCLES 2
[IX],[HL] 65  ?PSEUDOCODE  ?CYCLES 1
[IX],[IX] 66  ?PSEUDOCODE  ?CYCLES 1
[IX],[IY] 67  ?PSEUDOCODE  ?CYCLES 1
[IX],#nn B6,nn  ?PSEUDOCODE  ?CYCLES 2
[IX],[IX+dd] CE,68,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IY+dd] CE,69,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IX+L] CE,6A  ?PSEUDOCODE  ?CYCLES 2
[IX],[IY+L] CE,6B  ?PSEUDOCODE  ?CYCLES 2
[IX],BA CE,D4  ?PSEUDOCODE  ?CYCLES 2
[IX],HL CE,D5  ?PSEUDOCODE  ?CYCLES 2
[IX],IX CE,D6  ?PSEUDOCODE  ?CYCLES 2
[IX],IY CE,D7  ?PSEUDOCODE  ?CYCLES 2
LD [IX+dd],A CE,44,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],B CE,4C,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],L CE,54,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],H CE,5C,dd  ?PSEUDOCODE  ?CYCLES 3
LD SC,#nn 9F,nn  ?PSEUDOCODE  ?CYCLES 2
SC,A CE,C3  ?PSEUDOCODE  ?CYCLES 2
LD NB,#bb CE,C4,bb  ?PSEUDOCODE  ?CYCLES 3
NB,A CE,CC  ?PSEUDOCODE  ?CYCLES 2

EX: Byte exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
EX A,B CC  ?PSEUDOCODE  ?CYCLES 1
A,[HL] CD  ?PSEUDOCODE  ?CYCLES 1

SWAP: Nibble exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SWAP A F6  ?PSEUDOCODE  ?CYCLES 1
SWAP [HL] F7  ?PSEUDOCODE  ?CYCLES 1

Rotate/shift

RL: Rotate to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RL A CE,90  ?PSEUDOCODE  ?CYCLES 2
RL B CE,91  ?PSEUDOCODE  ?CYCLES 2
RL [HL] CE,93  ?PSEUDOCODE  ?CYCLES 2
RL [BR:ll] CE,92,ll  ?PSEUDOCODE  ?CYCLES 3

RLC: Rotate to left with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RLC A CE,94  ?PSEUDOCODE  ?CYCLES 2
RLC B CE,95  ?PSEUDOCODE  ?CYCLES 2
RLC [HL] CE,97  ?PSEUDOCODE  ?CYCLES 2
RLC [BR:ll] CE,96,ll  ?PSEUDOCODE  ?CYCLES 3

RR: Rotate to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RR A CE,98  ?PSEUDOCODE  ?CYCLES 2
RR B CE,99  ?PSEUDOCODE  ?CYCLES 2
RR [HL] CE,9B  ?PSEUDOCODE  ?CYCLES 2
RR [BR:ll] CE,9A,ll  ?PSEUDOCODE  ?CYCLES 3

RRC: Rotate to right with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RRC A CE,9C  ?PSEUDOCODE  ?CYCLES 2
RRC B CE,9D  ?PSEUDOCODE  ?CYCLES 2
RRC [HL] CE,9F  ?PSEUDOCODE  ?CYCLES 2
RRC [BR:ll] CE,9E,ll  ?PSEUDOCODE  ?CYCLES 3

SLA: Arithmetic shift to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLA A CE,80  ?PSEUDOCODE  ?CYCLES 2
SLA B CE,81  ?PSEUDOCODE  ?CYCLES 2
SLA [HL] CE,83  ?PSEUDOCODE  ?CYCLES 2
SLA [BR:ll] CE,82,ll  ?PSEUDOCODE  ?CYCLES 3

SLL: Logical shift to left

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLL A CE,84  ?PSEUDOCODE  ?CYCLES 2
SLL B CE,85  ?PSEUDOCODE  ?CYCLES 2
SLL [HL] CE,87  ?PSEUDOCODE  ?CYCLES 2
SLL [BR:ll] CE,86,ll  ?PSEUDOCODE  ?CYCLES 3

SRA: Arithmetic shift to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SRA A CE,88  ?PSEUDOCODE  ?CYCLES 2 0
SRA B CE,89  ?PSEUDOCODE  ?CYCLES 2 0
SRA [HL] CE,8B  ?PSEUDOCODE  ?CYCLES 2 0
SRA [BR:ll] CE,8A,ll  ?PSEUDOCODE  ?CYCLES 3 0

SRL: Logical shift to right

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SRL A CE,8C  ?PSEUDOCODE  ?CYCLES 2 0
SRL B CE,8D  ?PSEUDOCODE  ?CYCLES 2 0
SRL [HL] CE,8F  ?PSEUDOCODE  ?CYCLES 2 0
SRL [BR:ll] CE,8E,ll  ?PSEUDOCODE  ?CYCLES 3 0

Auxiliary operation

PACK: Pack

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
PACK DE  ?PSEUDOCODE  ?CYCLES 1

UPCK: Unpack

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
UPCK DF  ?PSEUDOCODE  ?CYCLES 1

SEP: Code extension

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SEP CE,A8  ?PSEUDOCODE  ?CYCLES 2

16-bit arithmetic operation

ADD: Addition

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADD IX,#mmnn C2,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IX,BA CE,40  ?PSEUDOCODE  ?CYCLES 2
IX,HL CE,41  ?PSEUDOCODE  ?CYCLES 2
ADD BA,#mmnn C0,nn,mm  ?PSEUDOCODE  ?CYCLES 3
BA,BA CE, 0  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 1  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, 2  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, 3  ?PSEUDOCODE  ?CYCLES 2
ADD SP,BA CE,44  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,45  ?PSEUDOCODE  ?CYCLES 2
SP,#mmnn CE,68,nn,mm  ?PSEUDOCODE  ?CYCLES 4
ADD IY,#mmnn C3,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,BA CE,42  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,43  ?PSEUDOCODE  ?CYCLES 2
ADD HL,#mmnn C1,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,BA CE,20  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,21  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,22  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,23  ?PSEUDOCODE  ?CYCLES 2

ADC: Addition with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
ADC BA,BA CE, 4  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 5  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, 6  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, 7  ?PSEUDOCODE  ?CYCLES 2
BA,#mmnn CE,60,nn,mm  ?PSEUDOCODE  ?CYCLES 4
ADC HL,BA CE,24  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,25  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,26  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,27  ?PSEUDOCODE  ?CYCLES 2
HL,#mmnn CE,61,nn,mm  ?PSEUDOCODE  ?CYCLES 4

SUB: Subtraction

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SUB IX,#mmnn D2,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IX,BA CE,48  ?PSEUDOCODE  ?CYCLES 2
IX,HL CE,49  ?PSEUDOCODE  ?CYCLES 2
SUB BA,#mmnn D0,nn,mm  ?PSEUDOCODE  ?CYCLES 3
BA,BA CE, 8  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, 9  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, A  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, B  ?PSEUDOCODE  ?CYCLES 2
SUB SP,BA CE,4C  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,4D  ?PSEUDOCODE  ?CYCLES 2
SP,#mmnn CE,6A,nn,mm  ?PSEUDOCODE  ?CYCLES 4
SUB IY,#mmnn D3,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,BA CE,4A  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,4B  ?PSEUDOCODE  ?CYCLES 2
SUB HL,#mmnn D1,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,BA CE,28  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,29  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,2A  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,2B  ?PSEUDOCODE  ?CYCLES 2

SBC: Subtraction with carry

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SBC BA,BA CE, C  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE, D  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE, E  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE, F  ?PSEUDOCODE  ?CYCLES 2
BA,#mmnn CE,62,nn,mm  ?PSEUDOCODE  ?CYCLES 4
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

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CP IX,#mmnn D6,nn,mm  ?PSEUDOCODE  ?CYCLES 3
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
CP IY,#mmnn D7,nn,mm  ?PSEUDOCODE  ?CYCLES 3
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
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

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INC IX 92  ?PSEUDOCODE  ?CYCLES 1
INC BA 90  ?PSEUDOCODE  ?CYCLES 1
INC HL 91  ?PSEUDOCODE  ?CYCLES 1
INC IY 93  ?PSEUDOCODE  ?CYCLES 1
INC SP 87  ?PSEUDOCODE  ?CYCLES 1

DEC: 1 decrement

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DEC IX 9A  ?PSEUDOCODE  ?CYCLES 1
DEC BA 98  ?PSEUDOCODE  ?CYCLES 1
DEC HL 99  ?PSEUDOCODE  ?CYCLES 1
DEC IY 9B  ?PSEUDOCODE  ?CYCLES 1
DEC SP 8F  ?PSEUDOCODE  ?CYCLES 1

16-bit transfer

LD: Load

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
LD IY,[hhll] BB,ll,hh  ?PSEUDOCODE  ?CYCLES 3
IY,#mmnn C7,nn,mm  ?PSEUDOCODE  ?CYCLES 3
IY,[SP+dd] CE,73,dd  ?PSEUDOCODE  ?CYCLES 3
IY,[HL] CE,C3  ?PSEUDOCODE  ?CYCLES 2
IY,[IX] CE,D3  ?PSEUDOCODE  ?CYCLES 2
IY,[IY] CE,DB  ?PSEUDOCODE  ?CYCLES 2
IY,BA CE,EC  ?PSEUDOCODE  ?CYCLES 2
IY,HL CE,ED  ?PSEUDOCODE  ?CYCLES 2
IY,IX CE,EE  ?PSEUDOCODE  ?CYCLES 2
IY,IY CE,EF  ?PSEUDOCODE  ?CYCLES 2
IY,SP CE,FE  ?PSEUDOCODE  ?CYCLES 2
LD SP,#mmnn CE,6E,nn,mm  ?PSEUDOCODE  ?CYCLES 4
SP,[hhll] CE,78,ll,hh  ?PSEUDOCODE  ?CYCLES 4
SP,BA CE,F0  ?PSEUDOCODE  ?CYCLES 2
SP,HL CE,F1  ?PSEUDOCODE  ?CYCLES 2
SP,IX CE,F2  ?PSEUDOCODE  ?CYCLES 2
SP,IY CE,F3  ?PSEUDOCODE  ?CYCLES 2
LD BA,[hhll] B8,ll,hh  ?PSEUDOCODE  ?CYCLES 3
BA,#mmnn C4,nn,mm  ?PSEUDOCODE  ?CYCLES 3
BA,[SP+dd] CE,70,dd  ?PSEUDOCODE  ?CYCLES 3
BA,[HL] CE,C0  ?PSEUDOCODE  ?CYCLES 2
BA,[IX] CE,D0  ?PSEUDOCODE  ?CYCLES 2
BA,[IY] CE,D8  ?PSEUDOCODE  ?CYCLES 2
BA,BA CE,E0  ?PSEUDOCODE  ?CYCLES 2
BA,HL CE,E1  ?PSEUDOCODE  ?CYCLES 2
BA,IX CE,E2  ?PSEUDOCODE  ?CYCLES 2
BA,IY CE,E3  ?PSEUDOCODE  ?CYCLES 2
BA,SP CE,F8  ?PSEUDOCODE  ?CYCLES 2
BA,PC CE,F9  ?PSEUDOCODE  ?CYCLES 2
LD BR,#hh B4,hh  ?PSEUDOCODE  ?CYCLES 2
BR,A CE,C2  ?PSEUDOCODE  ?CYCLES 2
LD [IX+L],A CE,46  ?PSEUDOCODE  ?CYCLES 2
[IX+L],B CE,4E  ?PSEUDOCODE  ?CYCLES 2
[IX+L],L CE,56  ?PSEUDOCODE  ?CYCLES 2
[IX+L],H CE,5E  ?PSEUDOCODE  ?CYCLES 2
LD HL,[hhll] B9,ll,hh  ?PSEUDOCODE  ?CYCLES 3
HL,#mmnn C5,nn,mm  ?PSEUDOCODE  ?CYCLES 3
HL,[SP+dd] CE,71,dd  ?PSEUDOCODE  ?CYCLES 3
HL,[HL] CE,C1  ?PSEUDOCODE  ?CYCLES 2
HL,[IX] CE,D1  ?PSEUDOCODE  ?CYCLES 2
HL,[IY] CE,D9  ?PSEUDOCODE  ?CYCLES 2
HL,BA CE,E4  ?PSEUDOCODE  ?CYCLES 2
HL,HL CE,E5  ?PSEUDOCODE  ?CYCLES 2
HL,IX CE,E6  ?PSEUDOCODE  ?CYCLES 2
HL,IY CE,E7  ?PSEUDOCODE  ?CYCLES 2
HL,SP CE,F4  ?PSEUDOCODE  ?CYCLES 2
HL,PC CE,F5  ?PSEUDOCODE  ?CYCLES 2
LD [IY+L],A CE,47  ?PSEUDOCODE  ?CYCLES 2
[IY+L],B CE,4F  ?PSEUDOCODE  ?CYCLES 2
[IY+L],L CE,57  ?PSEUDOCODE  ?CYCLES 2
[IY+L],H CE,5F  ?PSEUDOCODE  ?CYCLES 2
LD YP,#pp CE,C7,pp  ?PSEUDOCODE  ?CYCLES 3
YP,A CE,CF  ?PSEUDOCODE  ?CYCLES 2
LD [IY],A 70  ?PSEUDOCODE  ?CYCLES 1
[IY],B 71  ?PSEUDOCODE  ?CYCLES 1
[IY],L 72  ?PSEUDOCODE  ?CYCLES 1
[IY],H 73  ?PSEUDOCODE  ?CYCLES 1
[IY],[BR:ll] 74,ll  ?PSEUDOCODE  ?CYCLES 2
[IY],[HL] 75  ?PSEUDOCODE  ?CYCLES 1
[IY],[IX] 76  ?PSEUDOCODE  ?CYCLES 1
[IY],[IY] 77  ?PSEUDOCODE  ?CYCLES 1
[IY],#nn B7,nn  ?PSEUDOCODE  ?CYCLES 2
[IY],[IX+dd] CE,78,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IY+dd] CE,79,dd  ?PSEUDOCODE  ?CYCLES 3
[IY],[IX+L] CE,7A  ?PSEUDOCODE  ?CYCLES 2
[IY],[IY+L] CE,7B  ?PSEUDOCODE  ?CYCLES 2
[IY],BA CE,DC  ?PSEUDOCODE  ?CYCLES 2
[IY],HL CE,DD  ?PSEUDOCODE  ?CYCLES 2
[IY],IX CE,DE  ?PSEUDOCODE  ?CYCLES 2
[IY],IY CE,DF  ?PSEUDOCODE  ?CYCLES 2
LD [BR:ll],A 78,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],B 79,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],L 7A,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],H 7B,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[HL] 7D,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IX] 7E,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],[IY] 7F,ll  ?PSEUDOCODE  ?CYCLES 2
[BR:ll],#nn DD,ll,nn  ?PSEUDOCODE  ?CYCLES 3
LD [SP+dd],BA CE,74,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],HL CE,75,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IX CE,76,dd  ?PSEUDOCODE  ?CYCLES 3
[SP+dd],IY CE,77,dd  ?PSEUDOCODE  ?CYCLES 3
LD [IY+dd],A CE,45,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],B CE,4D,dd  ?PSEUDOCODE  ?CYCLES 3
[IY+dd],L CE,55,dd  ?PSEUDOCODE  ?CYCLES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?PSEUDOCODE  ?CYCLES 1
[HL],B 69  ?PSEUDOCODE  ?CYCLES 1
[HL],L 6A  ?PSEUDOCODE  ?CYCLES 1
[HL],H 6B  ?PSEUDOCODE  ?CYCLES 1
[HL],[BR:ll] 6C,ll  ?PSEUDOCODE  ?CYCLES 2
[HL],[HL] 6D  ?PSEUDOCODE  ?CYCLES 1
[HL],[IX] 6E  ?PSEUDOCODE  ?CYCLES 1
[HL],[IY] 6F  ?PSEUDOCODE  ?CYCLES 1
[HL],#nn B5,nn  ?PSEUDOCODE  ?CYCLES 2
[HL],[IX+dd] CE,60,dd  ?PSEUDOCODE  ?CYCLES 3
[HL],[IY+dd] CE,61,dd  ?PSEUDOCODE  ?CYCLES 3
[HL],[IX+L] CE,62  ?PSEUDOCODE  ?CYCLES 2
[HL],[IY+L] CE,63  ?PSEUDOCODE  ?CYCLES 2
[HL],BA CE,C4  ?PSEUDOCODE  ?CYCLES 2
[HL],HL CE,C5  ?PSEUDOCODE  ?CYCLES 2
[HL],IX CE,C6  ?PSEUDOCODE  ?CYCLES 2
[HL],IY CE,C7  ?PSEUDOCODE  ?CYCLES 2
LD L,A 50  ?PSEUDOCODE  ?CYCLES 1
L,B 51  ?PSEUDOCODE  ?CYCLES 1
L,L 52  ?PSEUDOCODE  ?CYCLES 1
L,H 53  ?PSEUDOCODE  ?CYCLES 1
L,[BR:ll] 54,ll  ?PSEUDOCODE  ?CYCLES 2
L,[HL] 55  ?PSEUDOCODE  ?CYCLES 1
L,[IX] 56  ?PSEUDOCODE  ?CYCLES 1
L,[IY] 57  ?PSEUDOCODE  ?CYCLES 1
L,#nn B2,nn  ?PSEUDOCODE  ?CYCLES 2
L,[IX+dd] CE,50,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IY+dd] CE,51,dd  ?PSEUDOCODE  ?CYCLES 3
L,[IX+L] CE,52  ?PSEUDOCODE  ?CYCLES 2
L,[IY+L] CE,53  ?PSEUDOCODE  ?CYCLES 2
L,[hhll] CE,D2,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD [hhll],BA BC,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],HL BD,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IX BE,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],IY BF,ll,hh  ?PSEUDOCODE  ?CYCLES 3
[hhll],A CE,D4,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],B CE,D5,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],L CE,D6,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],H CE,D7,ll,hh  ?PSEUDOCODE  ?CYCLES 4
[hhll],SP CE,7C,ll,hh  ?PSEUDOCODE  ?CYCLES 4
LD XP,#pp CE,C6,pp  ?PSEUDOCODE  ?CYCLES 3
XP,A CE,CE  ?PSEUDOCODE  ?CYCLES 2
LD EP,#pp CE,C5,pp  ?PSEUDOCODE  ?CYCLES 3
EP,A CE,CD  ?PSEUDOCODE  ?CYCLES 2
LD [IX],A 60  ?PSEUDOCODE  ?CYCLES 1
[IX],B 61  ?PSEUDOCODE  ?CYCLES 1
[IX],L 62  ?PSEUDOCODE  ?CYCLES 1
[IX],H 63  ?PSEUDOCODE  ?CYCLES 1
[IX],[BR:ll] 64,ll  ?PSEUDOCODE  ?CYCLES 2
[IX],[HL] 65  ?PSEUDOCODE  ?CYCLES 1
[IX],[IX] 66  ?PSEUDOCODE  ?CYCLES 1
[IX],[IY] 67  ?PSEUDOCODE  ?CYCLES 1
[IX],#nn B6,nn  ?PSEUDOCODE  ?CYCLES 2
[IX],[IX+dd] CE,68,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IY+dd] CE,69,dd  ?PSEUDOCODE  ?CYCLES 3
[IX],[IX+L] CE,6A  ?PSEUDOCODE  ?CYCLES 2
[IX],[IY+L] CE,6B  ?PSEUDOCODE  ?CYCLES 2
[IX],BA CE,D4  ?PSEUDOCODE  ?CYCLES 2
[IX],HL CE,D5  ?PSEUDOCODE  ?CYCLES 2
[IX],IX CE,D6  ?PSEUDOCODE  ?CYCLES 2
[IX],IY CE,D7  ?PSEUDOCODE  ?CYCLES 2
LD [IX+dd],A CE,44,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],B CE,4C,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],L CE,54,dd  ?PSEUDOCODE  ?CYCLES 3
[IX+dd],H CE,5C,dd  ?PSEUDOCODE  ?CYCLES 3
LD SC,#nn 9F,nn  ?PSEUDOCODE  ?CYCLES 2
SC,A CE,C3  ?PSEUDOCODE  ?CYCLES 2
LD NB,#bb CE,C4,bb  ?PSEUDOCODE  ?CYCLES 3
NB,A CE,CC  ?PSEUDOCODE  ?CYCLES 2

EX: Byte exchange

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
EX BA,HL C8  ?PSEUDOCODE  ?CYCLES 1
BA,IX C9  ?PSEUDOCODE  ?CYCLES 1
BA,IY CA  ?PSEUDOCODE  ?CYCLES 1
BA,SP CB  ?PSEUDOCODE  ?CYCLES 1

Stack Control

PUSH: Push

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
PUSH IY A3  ?PSEUDOCODE  ?CYCLES 1
PUSH IX A2  ?PSEUDOCODE  ?CYCLES 1
PUSH ALL CE,B8  ?PSEUDOCODE  ?CYCLES 2
PUSH B CE,B1  ?PSEUDOCODE  ?CYCLES 2
PUSH BA A0  ?PSEUDOCODE  ?CYCLES 1
PUSH IP A6  ?PSEUDOCODE  ?CYCLES 1
PUSH ALE CE,B9  ?PSEUDOCODE  ?CYCLES 2
PUSH L CE,B2  ?PSEUDOCODE  ?CYCLES 2
PUSH HL A1  ?PSEUDOCODE  ?CYCLES 1
PUSH A CE,B0  ?PSEUDOCODE  ?CYCLES 2
PUSH BR A4  ?PSEUDOCODE  ?CYCLES 1
PUSH H CE,B3  ?PSEUDOCODE  ?CYCLES 2
PUSH SC A7  ?PSEUDOCODE  ?CYCLES 1
PUSH EP A5  ?PSEUDOCODE  ?CYCLES 1

POP: Pop

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
POP IY AB  ?PSEUDOCODE  ?CYCLES 1
POP IX AA  ?PSEUDOCODE  ?CYCLES 1
POP ALL CE,BC  ?PSEUDOCODE  ?CYCLES 2
POP B CE,B5  ?PSEUDOCODE  ?CYCLES 2
POP BA A8  ?PSEUDOCODE  ?CYCLES 1
POP IP AE  ?PSEUDOCODE  ?CYCLES 1
POP ALE CE,BD  ?PSEUDOCODE  ?CYCLES 2
POP L CE,B6  ?PSEUDOCODE  ?CYCLES 2
POP HL A9  ?PSEUDOCODE  ?CYCLES 1
POP A CE,B4  ?PSEUDOCODE  ?CYCLES 2
POP BR AC  ?PSEUDOCODE  ?CYCLES 1
POP H CE,B7  ?PSEUDOCODE  ?CYCLES 2
POP SC AF  ?PSEUDOCODE  ?CYCLES 1
POP EP AD  ?PSEUDOCODE  ?CYCLES 1

Branch

JRS: Relative short jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JRS F0,rr CE,E8,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F1,rr CE,E9,rr  ?PSEUDOCODE  ?CYCLES 3
JRS C,rr E4,rr  ?PSEUDOCODE  ?CYCLES 2
JRS LE,rr CE,E1,rr  ?PSEUDOCODE  ?CYCLES 3
JRS GE,rr CE,E3,rr  ?PSEUDOCODE  ?CYCLES 3
JRS rr F1,rr  ?PSEUDOCODE  ?CYCLES 2
JRS NC,rr E5,rr  ?PSEUDOCODE  ?CYCLES 2
JRS M,rr CE,E7,rr  ?PSEUDOCODE  ?CYCLES 3
JRS LT,rr CE,E0,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F3,rr CE,EB,rr  ?PSEUDOCODE  ?CYCLES 3
JRS P,rr CE,E6,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NZ,rr E7,rr  ?PSEUDOCODE  ?CYCLES 2
JRS GT,rr CE,E2,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF3,rr CE,EF,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF2,rr CE,EE,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NF1,rr CE,ED,rr  ?PSEUDOCODE  ?CYCLES 3
JRS V,rr CE,E4,rr  ?PSEUDOCODE  ?CYCLES 3
JRS F2,rr CE,EA,rr  ?PSEUDOCODE  ?CYCLES 3
JRS Z,rr E6,rr  ?PSEUDOCODE  ?CYCLES 2
JRS NF0,rr CE,EC,rr  ?PSEUDOCODE  ?CYCLES 3
JRS NV,rr CE,E5,rr  ?PSEUDOCODE  ?CYCLES 3

JRL: Relative long jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JRL C,qqrr EC,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL NC,qqrr ED,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL Z,qqrr EE,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL NZ,qqrr EF,rr,qq  ?PSEUDOCODE  ?CYCLES 3
JRL qqrr F3,rr,qq  ?PSEUDOCODE  ?CYCLES 3

JP: Indirect jump

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
JP [kk] FD,kk  ?PSEUDOCODE  ?CYCLES 2
JP HL F4  ?PSEUDOCODE  ?CYCLES 1

DJR: Loop

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
DJR NZ,rr F5,rr  ?PSEUDOCODE  ?CYCLES 2

CARS: Relative short call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CARS F0,rr CE,F8,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F1,rr CE,F9,rr  ?PSEUDOCODE  ?CYCLES 3
CARS C,rr E0,rr  ?PSEUDOCODE  ?CYCLES 2
CARS LE,rr CE,F1,rr  ?PSEUDOCODE  ?CYCLES 3
CARS GE,rr CE,F3,rr  ?PSEUDOCODE  ?CYCLES 3
CARS rr F0,rr  ?PSEUDOCODE  ?CYCLES 2
CARS NC,rr E1,rr  ?PSEUDOCODE  ?CYCLES 2
CARS M,rr CE,F7,rr  ?PSEUDOCODE  ?CYCLES 3
CARS LT,rr CE,F0,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F3,rr CE,FB,rr  ?PSEUDOCODE  ?CYCLES 3
CARS P,rr CE,F6,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NZ,rr E3,rr  ?PSEUDOCODE  ?CYCLES 2
CARS GT,rr CE,F2,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF3,rr CE,FF,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF2,rr CE,FE,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NF1,rr CE,FD,rr  ?PSEUDOCODE  ?CYCLES 3
CARS V,rr CE,F4,rr  ?PSEUDOCODE  ?CYCLES 3
CARS F2,rr CE,FA,rr  ?PSEUDOCODE  ?CYCLES 3
CARS Z,rr E2,rr  ?PSEUDOCODE  ?CYCLES 2
CARS NF0,rr CE,FC,rr  ?PSEUDOCODE  ?CYCLES 3
CARS NV,rr CE,F5,rr  ?PSEUDOCODE  ?CYCLES 3

CARL: Relative long call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CARL C,qqrr E8,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL NC,qqrr E9,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL Z,qqrr EA,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL NZ,qqrr EB,rr,qq  ?PSEUDOCODE  ?CYCLES 3
CARL qqrr F2,rr,qq  ?PSEUDOCODE  ?CYCLES 3

CALL: Indirect call

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
CALL [hhll] FB,ll,hh  ?PSEUDOCODE  ?CYCLES 3

RET: Return

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RET F8  ?PSEUDOCODE  ?CYCLES 1

RETE: Exception processing return

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RETE F9  ?PSEUDOCODE  ?CYCLES 1

RETS: Return and skip

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
RETS FA  ?PSEUDOCODE  ?CYCLES 1

INT: Software interrupt

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
INT [kk] FC,kk  ?PSEUDOCODE  ?CYCLES 2

System Control

NOP: No operation

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
NOP FF  ?PSEUDOCODE  ?CYCLES 1

HALT: Shifts to HALT status

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
HALT CE,AE  ?PSEUDOCODE  ?CYCLES 2

SLP: Shifts to SLEEP status

Mnemonic Machine Code Operation Cycles Bytes SC
I1 I0 U D N V C Z
SLP CE,AF  ?PSEUDOCODE  ?CYCLES 2

Operation Code Map

1st operation code

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD A,A ADD A,B ADD A,#nn ADD A,[HL] ADD A,[BR:ll] ADD A,[hhll] ADD A,[IX] ADD A,[IY] ADC A,A ADC A,B ADC A,#nn ADC A,[HL] ADC A,[BR:ll] ADC A,[hhll] ADC A,[IX] ADC A,[IY]
1x SUB A,A SUB A,B SUB A,#nn SUB A,[HL] SUB A,[BR:ll] SUB A,[hhll] SUB A,[IX] SUB A,[IY] SBC A,A SBC A,B SBC A,#nn SBC A,[HL] SBC A,[BR:ll] SBC A,[hhll] SBC A,[IX] SBC A,[IY]
2x AND A,A AND A,B AND A,#nn AND A,[HL] AND A,[BR:ll] AND A,[hhll] AND A,[IX] AND A,[IY] OR A,A OR A,B OR A,#nn OR A,[HL] OR A,[BR:ll] OR A,[hhll] OR A,[IX] OR A,[IY]
3x CP A,A CP A,B CP A,#nn CP A,[HL] CP A,[BR:ll] CP A,[hhll] CP A,[IX] CP A,[IY] XOR A,A XOR A,B XOR A,#nn XOR A,[HL] XOR A,[BR:ll] XOR A,[hhll] XOR A,[IX] XOR A,[IY]
4x LD A,A LD A,B LD A,L LD A,H LD A,[BR:ll] LD A,[HL] LD A,[IX] LD A,[IY] LD B,A LD B,B LD B,L LD B,H LD B,[BR:ll] LD B,[HL] LD B,[IX] LD B,[IY]
5x LD L,A LD L,B LD L,L LD L,H LD L,[BR:ll] LD L,[HL] LD L,[IX] LD L,[IY] LD H,A LD H,B LD H,L LD H,H LD H,[BR:ll] LD H,[HL] LD H,[IX] LD H,[IY]
6x LD [IX],A LD [IX],B LD [IX],L LD [IX],H LD [IX],[BR:ll] LD [IX],[HL] LD [IX],[IX] LD [IX],[IY] LD [HL],A LD [HL],B LD [HL],L LD [HL],H LD [HL],[BR:ll] LD [HL],[HL] LD [HL],[IX] LD [HL],[IY]
7x LD [IY],A LD [IY],B LD [IY],L LD [IY],H LD [IY],[BR:ll] LD [IY],[HL] LD [IY],[IX] LD [IY],[IY] LD [BR:ll],A LD [BR:ll],B LD [BR:ll],L LD [BR:ll],H LD [BR:ll],[HL] LD [BR:ll],[IX] LD [BR:ll],[IY]
8x INC A INC B INC L INC H INC BR INC [BR:ll] INC [HL] INC SP DEC A DEC B DEC L DEC H DEC BR DEC [BR:ll] DEC [HL] DEC SP
9x INC BA INC HL INC IX INC IY BIT A,B BIT [HL],#nn BIT A,#nn BIT B,#nn DEC BA DEC HL DEC IX DEC IY AND SC,#nn OR SC,#nn XOR SC,#nn LD SC,#nn
Ax PUSH BA PUSH HL PUSH IX PUSH IY PUSH BR PUSH EP PUSH IP PUSH SC POP BA POP HL POP IX POP IY POP BR POP EP POP IP POP SC
Bx LD A,#nn LD B,#nn LD L,#nn LD H,#nn LD BR,#hh LD [HL],#nn LD [IX],#nn LD [IY],#nn LD BA,[hhll] LD HL,[hhll] LD IX,[hhll] LD IY,[hhll] LD [hhll],BA LD [hhll],HL LD [hhll],IX LD [hhll],IY
Cx ADD BA,#mmnn ADD HL,#mmnn ADD IX,#mmnn ADD IY,#mmnn LD BA,#mmnn LD HL,#mmnn LD IX,#mmnn LD IY,#mmnn EX BA,HL EX BA,IX EX BA,IY EX BA,SP EX A,B EX A,[HL] Expansion Code Expansion Code
Dx SUB BA,#mmnn SUB HL,#mmnn SUB IX,#mmnn SUB IY,#mmnn CP BA,#mmnn CP HL,#mmnn CP IX,#mmnn CP IY,#mmnn AND [BR:ll],#nn OR [BR:ll],#nn XOR [BR:ll],#nn CP [BR:ll],#nn BIT [BR:ll],#nn LD [BR:ll],#nn PACK UPCK
Ex CARS C,rr CARS NC,rr CARS Z,rr CARS NZ,rr JRS C,rr JRS NC,rr JRS Z,rr JRS NZ,rr CARL C,qqrr CARL NC,qqrr CARL Z,qqrr CARL NZ,qqrr JRL C,qqrr JRL NC,qqrr JRL Z,qqrr JRL NZ,qqrr
Fx CARS rr JRS rr CARL qqrr JRL qqrr JP HL DJR NZ,rr SWAP A SWAP [HL] RET RETE RETS CALL [hhll] INT [kk] JP [kk] NOP

2nd operation code (1st operation code = CE)

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD A,[IX+dd] ADD A,[IY+dd] ADD A,[IX+L] ADD A,[IY+L] ADD [HL],A ADD [HL],#nn ADD [HL],[IX] ADD [HL],[IY] ADC A,[IX+dd] ADC A,[IY+dd] ADC A,[IX+L] ADC A,[IY+L] ADC [HL],A ADC [HL],#nn ADC [HL],[IX] ADC [HL],[IY]
1x SUB A,[IX+dd] SUB A,[IY+dd] SUB A,[IX+L] SUB A,[IY+L] SUB [HL],A SUB [HL],#nn SUB [HL],[IX] SUB [HL],[IY] SBC A,[IX+dd] SBC A,[IY+dd] SBC A,[IX+L] SBC A,[IY+L] SBC [HL],A SBC [HL],#nn SBC [HL],[IX] SBC [HL],[IY]
2x AND A,[IX+dd] AND A,[IY+dd] AND A,[IX+L] AND A,[IY+L] AND [HL],A AND [HL],#nn AND [HL],[IX] AND [HL],[IY] OR A,[IX+dd] OR A,[IY+dd] OR A,[IX+L] OR A,[IY+L] OR [HL],A OR [HL],#nn OR [HL],[IX] OR [HL],[IY]
3x CP A,[IX+dd] CP A,[IY+dd] CP A,[IX+L] CP A,[IY+L] CP [HL],A CP [HL],#nn CP [HL],[IX] CP [HL],[IY] XOR A,[IX+dd] XOR A,[IY+dd] XOR A,[IX+L] XOR A,[IY+L] XOR [HL],A XOR [HL],#nn XOR [HL],[IX] XOR [HL],[IY]
4x LD A,[IX+dd] LD A,[IY+dd] LD A,[IX+L] LD A,[IY+L] LD [IX+dd],A LD [IY+dd],A LD [IX+L],A LD [IY+L],A LD B,[IX+dd] LD B,[IY+dd] LD B,[IX+L] LD B,[IY+L] LD [IX+dd],B LD [IY+dd],B LD [IX+L],B LD [IY+L],B
5x LD L,[IX+dd] LD L,[IY+dd] LD L,[IX+L] LD L,[IY+L] LD [IX+dd],L LD [IY+dd],L LD [IX+L],L LD [IY+L],L LD H,[IX+dd] LD H,[IY+dd] LD H,[IX+L] LD H,[IY+L] LD [IX+dd],H LD [IY+dd],H LD [IX+L],H LD [IY+L],H
6x LD [HL],[IX+dd] LD [HL],[IY+dd] LD [HL],[IX+L] LD [HL],[IY+L] LD [IX],[IX+dd] LD [IX],[IY+dd] LD [IX],[IX+L] LD [IX],[IY+L]
7x LD [IY],[IX+dd] LD [IY],[IY+dd] LD [IY],[IX+L] LD [IY],[IY+L]
8x SLA A SLA B SLA [BR:ll] SLA [HL] SLL A SLL B SLL [BR:ll] SLL [HL] SRA A SRA B SRA [BR:ll] SRA [HL] SRL A SRL B SRL [BR:ll] SRL [HL]
9x RL A RL B RL [BR:ll] RL [HL] RLC A RLC B RLC [BR:ll] RLC [HL] RR A RR B RR [BR:ll] RR [HL] RRC A RRC B RRC [BR:ll] RRC [HL]
Ax CPL A CPL B CPL [BR:ll] CPL [HL] NEG A NEG B NEG [BR:ll] NEG [HL] SEP HALT SLP
Bx AND B,#nn AND L,#nn AND H,#nn OR B,#nn OR L,#nn OR H,#nn XOR B,#nn XOR L,#nn XOR H,#nn CP B,#nn CP L,#nn CP H,#nn CP BR,#hh
Cx LD A,BR LD A,SC LD BR,A LD SC,A LD NB,#bb LD EP,#pp LD XP,#pp LD YP,#pp LD A,NB LD A,EP LD A,XP LD A,YP LD NB,A LD EP,A LD XP,A LD YP,A
Dx LD A,[hhll] LD B,[hhll] LD L,[hhll] LD H,[hhll] LD [hhll],A LD [hhll],B LD [hhll],L LD [hhll],H MLT DIV
Ex JRS LT,rr JRS LE,rr JRS GT,rr JRS GE,rr JRS V,rr JRS NV,rr JRS P,rr JRS M,rr JRS F0,rr JRS F1,rr JRS F2,rr JRS F3,rr JRS NF0,rr JRS NF1,rr JRS NF2,rr JRS NF3,rr
Fx CARS LT,rr CARS LE,rr CARS GT,rr CARS GE,rr CARS V,rr CARS NV,rr CARS P,rr CARS M,rr CARS F0,rr CARS F1,rr CARS F2,rr CARS F3,rr CARS NF0,rr CARS NF1,rr CARS NF2,rr CARS NF3,rr

3nd operation code (1st operation code = CF)

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ADD BA,BA ADD BA,HL ADD BA,IX ADD BA,IY ADC BA,BA ADC BA,HL ADC BA,IX ADC BA,IY SUB BA,BA SUB BA,HL SUB BA,IX SUB BA,IY SBC BA,BA SBC BA,HL SBC BA,IX SBC BA,IY
1x CP BA,BA CP BA,HL CP BA,IX CP BA,IY
2x ADD HL,BA ADD HL,HL ADD HL,IX ADD HL,IY ADC HL,BA ADC HL,HL ADC HL,IX ADC HL,IY SUB HL,BA SUB HL,HL SUB HL,IX SUB HL,IY SBC HL,BA SBC HL,HL SBC HL,IX SBC HL,IY
3x CP HL,BA CP HL,HL CP HL,IX CP HL,IY
4x ADD IX,BA ADD IX,HL ADD IY,BA ADD IY,HL ADD SP,BA ADD SP,HL SUB IX,BA SUB IX,HL SUB IY,BA SUB IY,HL SUB SP,BA SUB SP,HL
5x CP SP,BA CP SP,HL
6x ADC BA,#mmnn ADC HL,#mmnn SBC BA,#mmnn SBC HL,#mmnn ADD SP,#mmnn SUB SP,#mmnn CP SP,#mmnn LD SP,#mmnn
7x LD BA,[SP+dd] LD HL,[SP+dd] LD IX,[SP+dd] LD IY,[SP+dd] LD [SP+dd],BA LD [SP+dd],HL LD [SP+dd],IX LD [SP+dd],IY LD SP,[hhll] LD [hhll],SP
8x
9x
Ax
Bx PUSH A PUSH B PUSH L PUSH H POP A POP B POP L POP H PUSH ALL PUSH ALE POP ALL POP ALE
Cx LD BA,[HL] LD HL,[HL] LD IX,[HL] LD IY,[HL] LD [HL],BA LD [HL],HL LD [HL],IX LD [HL],IY
Dx LD BA,[IX] LD HL,[IX] LD IX,[IX] LD IY,[IX] LD [IX],BA LD [IX],HL LD [IX],IX LD [IX],IY LD BA,[IY] LD HL,[IY] LD IX,[IY] LD IY,[IY] LD [IY],BA LD [IY],HL LD [IY],IX LD [IY],IY
Ex LD BA,BA LD BA,HL LD BA,IX LD BA,IY LD HL,BA LD HL,HL LD HL,IX LD HL,IY LD IX,BA LD IX,HL LD IX,IX LD IX,IY LD IY,BA LD IY,HL LD IY,IX LD IY,IY
Fx LD SP,BA LD SP,HL LD SP,IX LD SP,IY LD HL,SP LD HL,PC LD BA,SP LD BA,PC