41
CHAPTER 4 INSTRUCTION SET
User's Manual U12326EJ4V0UM
8-Bit SUB A,#byte 0001 1101 Data
Operation saddr,#byte 1001 1000 Saddr-offset Data
A,r Note 0110 0001 0001 1
R2R1R0
r,A 0110 0001 0001 0
R2R1R0
A,saddr 0001 1110 Saddr-offset
A,!addr16 0001 1000 Low addr High addr
A,[HL] 0001 1111
A,[HL+byte] 0001 1001 Data
A,[HL+B] 0011 0001 0001 1011
A,[HL+C] 0011 0001 0001 1010
SUBC A,#byte 0011 1101 Data
saddr,#byte 1011 1000 Saddr-offset Data
A,r Note 0110 0001 0011 1
R2R1R0
r,A 0110 0001 0011 0
R2R1R0
A,saddr 0011 1110 Saddr-offset
A,!addr16 0011 1000 Low addr High addr
A,[HL] 0011 1111
A,[HL+byte] 0011 1001 Data
A,[HL+B] 0011 0001 0011 1011
A,[HL+C] 0011 0001 0011 1010
AND A,#byte 0101 1101 Data
saddr,#byte 1101 1000 Saddr-offset Data
A,r Note 0110 0001 0101 1
R2R1R0
r,A 0110 0001 0101 0
R2R1R0
A,saddr 0101 1110 Saddr-offset
A,!addr16 0101 1000 Low addr High addr
A,[HL] 0101 1111
A,[HL+byte] 0101 1001 Data
A,[HL+B] 0011 0001 0101 1011
A,[HL+C] 0011 0001 0101 1010
Instruction
Mnemonic
Operands Operation Code
Group B1 B2 B3 B4
Note Except r = A.