This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

Instruction List by opcode

Table of Contents

NOP00
LD BC, nn01nnnn
LD (BC), A02
INC BC03
INC B04
DEC B05
LD B, n06nn
RLCA07
EX AF, AF'08
ADD HL,BC09
LD A, (BC)0A
DEC BC0B
INC C0C
DEC C0D
LD C, n0Enn
RRCA0F
DJNZ e10nn
LD DE, nn11nnnn
LD (DE), A12
INC DE13
INC D14
DEC D15
LD D, n16nn
RLA17
JR e18nn
ADD HL,DE19
LD A, (DE)1A
DEC DE1B
INC E1C
DEC E1D
LD E, n1Enn
RRA1F
JR NZ,e20nn
LD HL, nn21nnnn
LD (nn), HL22nnnn
INC HL23
INC H24
DEC H25
LD H, n26nn
DAA27
JR Z,e28nn
ADD HL,HL29
LD HL, (nn)2Annnn
DEC HL2B
INC L2C
DEC L2D
LD L, n2Enn
CPL2F
CPL2F
JR NC,e30nn
LD SP, nn31nnnn
LD (nn), A32nnnn
INC SP33
INC (HL)34
DEC (HL)35
LD (HL), n36nn
SCF37
JR C,e38nn
ADD HL,SP39
LD A, (nn)3Annnn
DEC SP3B
INC A3C
DEC A3D
LD A, n3Enn
CCF3F
CCF3F
LD B, B40
LD B, C41
LD B, D42
LD B, E43
LD B, H44
LD B, L45
LD B, (HL)46
LD B, A47
LD C, B48
LD C, C49
LD C, D4A
LD C, E4B
LD C, H4C
LD C, L4D
LD C, (HL)4E
LD C, A4F
LD D, B50
LD D, C51
LD D, D52
LD D, E53
LD D, H54
LD D, L55
LD D, (HL)56
LD D, A57
LD E, B58
LD E, C59
LD E, D5A
LD E, E5B
LD E, H5C
LD E, L5D
LD E, (HL)5E
LD E, A5F
LD H, B60
LD H, C61
LD H, D62
LD H, E63
LD H, H64
LD H, L65
LD H, (HL)66
LD H, A67
LD L, B68
LD L, C69
LD L, D6A
LD L, E6B
LD L, H6C
LD L, L6D
LD L, (HL)6E
LD L, A6F
LD (HL), B70
LD (HL), C71
LD (HL), D72
LD (HL), E73
LD (HL), H74
LD (HL), L75
HALT76
LD (HL), A77
LD A, B78
LD A, C79
LD A, D7A
LD A, E7B
LD A, H7C
LD A, L7D
LD A, (HL)7E
LD A, A7F
ADD A,B80
ADD A,C81
ADD A,D82
ADD A,E83
ADD A,H84
ADD A,L85
ADD A,(HL)86
ADD A,A87
ADC A,B88
ADC A,C89
ADC A,D8A
ADC A,E8B
ADC A,H8C
ADC A,L8D
ADC A,(HL)8E
ADC A,A8F
SUB A,B90
SUB A,C91
SUB A,D92
SUB A,E93
SUB A,H94
SUB A,L95
SUB A,(HL)96
SUB A,A97
SBC A,B98
SBC A,C99
SBC A,D9A
SBC A,E9B
SBC A,H9C
SBC A,L9D
SBC A,(HL)9E
SBC A,A9F
AND A,BA0
AND A,CA1
AND A,DA2
AND A,EA3
AND A,HA4
AND A,LA5
AND A,(HL)A6
AND A,AA7
XOR A,BA8
XOR A,CA9
XOR A,DAA
XOR A,EAB
XOR A,HAC
XOR A,LAD
XOR A,(HL)AE
XOR A,AAF
OR A,BB0
OR A,CB1
OR A,DB2
OR A,EB3
OR A,HB4
OR A,LB5
OR A,(HL)B6
OR A,AB7
CP BB8
CP CB9
CP DBA
CP EBB
CP HBC
CP LBD
CP (HL)BE
CP ABF
RET NZC0
POP BCC1
JP NZ,nnC2nnnn
JP nnC3nnnn
CALL NZ,nnC4nnnn
PUSH BCC5
ADD A,nC6nn
RST 0C7
RET ZC8
RET C9
JP Z,nnCAnnnn
RLC BCB00nn
RLC CCB01nn
RLC DCB02nn
RLC ECB03nn
RLC HCB04nn
RLC LCB05nn
RLC (HL)CB06nn
RLC ACB07nn
RRC BCB08nn
RRC CCB09nn
RRC DCB0Ann
RRC ECB0Bnn
RRC HCB0Cnn
RRC LCB0Dnn
RRC (HL)CB0Enn
RRC ACB0Fnn
RL BCB10nn
RL CCB11nn
RL DCB12nn
RL ECB13nn
RL HCB14nn
RL LCB15nn
RL (HL)CB16nn
RL ACB17nn
RR BCB18nn
RR CCB19nn
RR DCB1Ann
RR ECB1Bnn
R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PUSH DED5
SUB A,nD6nn
RST 2D7
RET CD8
EXXD9
JP C,nnDAnnnn
IN A,(n)DBnn
CALL C,nnDCnnnn
ADD IX,BCDD09nn
ADD IX,DEDD19nn
LD IX, nnDD21nnnn
LD (nn), IXDD22nnnn
INC IXDD23nn
INC IXhDD24
DEC IXhDD25
LD IXh,nDD26nn
ADD IX,IXDD29nn
LD IX, (nn)DD2Annnn
DEC IXDD2Bnn
INC IXlDD2C
DEC IXlDD2D
LD IXl,nDD2Enn
INC (IX+d)DD34nn
DEC (IX+d)DD35nn
LD (IX+d), nDD36nnnn
ADD IX,SPDD39nn
LD B,IXhDD44
LD B,IXlDD45
LD B, (IX+d)DD46nn
LD C,IXhDD4C
LD C,IXlDD4D
LD C, (IX+d)DD4Enn
LD D,IXhDD54
LD D,IXlDD55
LD D, (IX+d)DD56nn
LD E,IXhDD5C
LD E,IXlDD5D
LD E, (IX+d)DD5Enn
LD IXh,BDD60
LD IXh,CDD61
LD IXh,DDD62
LD IXh,EDD63
LD IXh,IHhDD64
LD IXh,IHlDD65
LD H, (IX+d)DD66nn
LD IXh,ADD67
LD IXl,BDD68
LD IXl,CDD69
LD IXl,DDD6A
LD IXl,EDD6B
LD IXl,IHhDD6C
LD IXl,IHlDD6D
LD L, (IX+d)DD6Enn
LD IXl,ADD6F
LD (IX+d), BDD70nn
LD (IX+d), CDD71nn
LD (IX+d), DDD72nn
LD (IX+d), EDD73nn
LD (IX+d), HDD74nn
LD (IX+d), LDD75nn
LD (IX+d), ADD77nn
LD A,IXhDD7C
LD A,IXlDD7D
LD A, (IX+d)DD7Enn
ADD A,IXhDD84
ADD A,IXlDD85
ADD A,(IX+d)DD86nn
ADC A,IXhDD8C
ADC A,IXlDD8D
ADC A,(IX+d)DD8Enn
SUB IXhDD94
SUB IXlDD95
SUB A,(IX+d)DD96nn
SBC A,IXhDD9C
SBC A,IXlDD9D
SBC A,(IX+d)DD9Enn
AND IXhDDA4
AND IXlDDA5
AND A,(IX+d)DDA6nn
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DCBnnF3
SET H,6,(IX+nn)DDCBnnF4
SET L,6,(IX+nn)DDCBnnF5
SET 6,(IX+d)DDCBnnF6
SET A,6,(IX+nn)DDCBnnF7
SET B,7,(IX+nn)DDCBnnF8
SET C,7,(IX+nn)DDCBnnF9
SET D,7,(IX+nn)DDCBnnFA
SET E,7,(IX+nn)DDCBnnFB
SET H,7,(IX+nn)DDCBnnFC
SET L,7,(IX+nn)DDCBnnFD
SET 7,(IX+d)DDCBnnFE
SET A,7,(IX+nn)DDCBnnFF
POP IXDDE1nn
EX (SP), IXDDE3nn
PUSH IXDDE5nn
JP (IX)DDE9nn
LD SP, IXDDF9nn
SBC A,nDEnn
RST 3DF
RET POE0
POP HLE1
JP PO,nnE2nnnn
EX (SP), HLE3
CALL PO,nnE4nnnn
PUSH HLE5
AND A,nE6nn
RST 4E7
RET PEE8
JP (HL)E9
JP PE,nnEAnnnn
EX DE, HLEB
CALL PE,nnECnnnn
IN B,(C)ED40nn
OUT (C),BED41nn
SBC HL,BCED42nn
LD (nn), BCED43nnnn
NEGED44nn
NEGED44nn
RETNED45nn
IM0ED46nn
LD I, AED47nn
IN C,(C)ED48nn
OUT (C),CED49nn
ADC HL,BCED4Ann
LD BC, (nn)ED4Bnnnn
RETIED4Dnn
LD R, AED4Fnn
IN D,(C)ED50nn
OUT (C),DED51nn
SBC HL,DEED52nn
LD (nn), DEED53nnnn
IM1ED56nn
LD A, IED57nn
IN E,(C)ED58nn
OUT (C),EED59nn
ADC HL,DEED5Ann
LD DE, (nn)ED5Bnnnn
IM2ED5Enn
LD A, RED5Fnn
IN H,(C)ED60nn
OUT (C),HED61nn
SBC HL,HLED62nn
LD (nn), HLED63nnnn
RRD (HL)ED67nn
IN L,(C)ED68nn
OUT (C),LED69nn
ADC HL,HLED6Ann
LD HL, (nn)ED6Bnnnn
RLD (HL)ED6Fnn
IN F,(C)ED70nn
OUT (C),FED71nn
SBC HL,SPED72nn
LD (nn), SPED73nnnn
OUT (C),AED79nn
ADC HL,SPED7Ann
IN A,(C)ED7Bnn
LD SP, (nn)ED7Bnnnn
LDIEDA0nn
CPIEDA1nn
INIEDA2nn
OUTIEDA3nn
LDDEDA8nn
CPDEDA9nn
INDEDAAnn
OUTDEDABnn
LDIREDB0nn
CPIREDB1nn
INIREDB2nn
OUTIREDB3nn
LDDREDB8nn
CPDREDB9nn
INDREDBAnn
OUTDREDBBnn
XOR A,nEEnn
RST 5EF
RET PF0
POP AFF1
JP P,nnF2nnnn
DIF3
CALL P,nnF4nnnn
PUSH AFF5
OR A,nF6nn
RST 6F7
RET NF8
LD SP, HLF9
JP N,nnFAnnnn
EIFB
CALL N,nnFCnnnn
ADD IY,BCFD09nn
ADD IY,DEFD19nn
LD IY, nnFD21nnnn
LD (nn), IYFD22nnnn
INC IYFD23nn
INC IYhFD24
DEC IYhFD25
LD IYh,nFD26nn
ADD IY,IYFD29nn
LD IY, (nn)FD2Annnn
DEC IYFD2Bnn
INC IYlFD2C
DEC IYlFD2D
LD IYl,nFD2Enn
INC (IY+d)FD34nn
DEC (IY+d)FD35nn
LD (IY+d), nFD36nnnn
ADD IY,SPFD39nn
LD B,IYhFD44
LD B,IYlFD45
LD B, (IY+d)FD46nn
LD C,IYhFD4C
LD C,IYlFD4D
LD C, (IY+d)FD4Enn
LD D,IYhFD54
LD D,IYlFD55
LD D, (IY+d)FD56nn
LD E,IYhFD5C
LD E,IYlFD5D
LD E, (IY+d)FD5Enn
LD IYh,BFD60
LD IYh,CFD61
LD IYh,DFD62
LD IYh,EFD63
LD IYh,IHhFD64
LD IYh,IHlFD65
LD H, (IY+d)FD66nn
LD IYh,AFD67
LD IYl,BFD68
LD IYl,CFD69
LD IYl,DFD6A
LD IYl,EFD6B
LD IYl,IHhFD6C
LD IYl,IHlFD6D
LD L, (IY+d)FD6Enn
LD IYl,AFD6F
LD (IY+d), BFD70nn
LD (IY+d), CFD71nn
LD (IY+d), DFD72nn
LD (IY+d), EFD73nn
LD (IY+d), HFD74nn
LD (IY+d), LFD75nn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