CHAPTER 18 INSTRUCTION SET OVERVIEW
User’s Manual U18172EJ2V0UD
277
Flag
Mnemonic Operand Bytes Clocks
Operation
Z AC CY
A, #byte
2
4
A
−
byte
×
×
×
saddr, #byte
3
6
(saddr)
−
byte
×
×
×
A, r
2
4
A
−
r
×
×
×
A, saddr
2
4
A
−
(saddr)
×
×
×
A, !addr16
3
8
A
−
(addr16)
×
×
×
A, [HL]
1
6
A
−
(HL)
×
×
×
CMP
A, [HL + byte]
2
6
A
−
(HL + byte)
×
×
×
ADDW
AX, #word
3
6
AX, CY
←
AX + word
×
×
×
SUBW
AX, #word
3
6
AX, CY
←
AX
−
word
×
×
×
CMPW AX,
#word
3 6
AX
−
word
×
×
×
r 2
4
r
←
r + 1
×
×
INC
saddr 2
4
(saddr)
←
(saddr) + 1
×
×
r 2
4
r
←
r
−
1
×
×
DEC
saddr 2
4
(saddr)
←
(saddr)
−
1
×
×