43
CHAPTER 4 INSTRUCTION SET
User's Manual U12326EJ4V0UM
16-Bit ADDW AX,#word 1100 1010 Low byte High byte
Operation SUBW AX,#word 1101 1010 Low byte High byte
CMPW AX,#word 1110 1010 Low byte High byte
Multiply/ MULU X 0011 0001 1000 1000
divide DIVUW C 00110001 1000 0010
Increment/ INC r 0100 0
R2R1R0
decrement saddr 1000 0001 Saddr-offset
DEC r 0101 0
R2R1R0
saddr 1001 0001 Saddr-offset
INCW rp 1000 0
P1P0
0
DECW rp 1001 0
P1P0
0
Rotate ROR A,1 0010 0100
ROL A,1 0010 0110
RORC A,1 0010 0101
ROLC A,1 0010 0111
ROR4 [HL] 0011 0001 1001 0000
ROL4 [HL] 0011 0001 1000 0000
BCD ADJBA 0110 0001 1000 0000
Adjust ADJBS 0110 0001 1001 0000
Bit MOV1 CY,saddr.bit 0111 0001 0
B2B1B0
0100 Saddr-offset
Manipulation
CY,sfr.bit 0111 0001 0
B2B1B0
1100 Sfr-offset
CY,A.bit 0110 0001 1
B2B1B0
1100
CY,PSW.bit 0111 0001 0
B2B1B0
0100 0001 1110
CY,[HL].bit 0111 0001 1
B2B1B0
0100
saddr.bit,CY 0111 0001 0
B2B1B0
0001 Saddr-offset
sfr.bit,CY 0111 0001 0
B2B1B0
1001 Sfr-offset
A.bit,CY 0110 0001 1
B2B1B0
1001
PSW.bit,CY 0111 0001 0
B2B1B0
0001 0001 1110
[HL].bit,CY 0111 0001 1
B2B1B0
0001
AND1 CY,saddr.bit 0111 0001 0
B2B1B0
0101 Saddr-offset
CY,sfr.bit 0111 0001 0
B2B1B0
1101 Sfr-offset
CY,A.bit 0110 0001 1
B2B1B0
1101
CY,PSW.bit 0111 0001 0
B2B1B0
0101 0001 1110
CY,[HL].bit 0111 0001 1
B2B1B0
0101
Instruction
Mnemonic
Operands Operation Code
Group B1 B2 B3 B4