CHAPTER 19 INSTRUCTION SET
302
User’s Manual U15075EJ1V0UM00
Mnemonic
Operands
Byte
Clock
Operation
Flag
Z AC CY
MOVW
rp, #word
3
6
rp
←
word
AX, saddrp
2
6
AX
←
(saddrp)
saddrp, AX
2
8
(saddrp)
←
AX
AX, rp
Note
1
4
AX
←
rp
rp, AX
Note
1
4
rp
←
AX
XCHW
AX, rp
Note
1
8
AX
↔
rp
ADD
A, #byte
2
4
A, CY
←
A + byte
x
x
x
saddr, #byte
3
6
(saddr), CY
←
(saddr) + byte
x
x
x
A, r
2
4
A, CY
←
A + r
x
x
x
A, saddr
2
4
A, CY
←
A + (saddr)
x
x
x
A, !addr16
3
8
A, CY
←
A + (addr16)
x
x
x
A, [HL]
1
6
A, CY
←
A + (HL)
x
x
x
A, [HL+byte]
2
6
A, CY
←
A + (HL + byte)
x
x
x
ADDC
A, #byte
2
4
A, CY
←
A + byte + CY
x
x
x
saddr, #byte
3
6
(saddr), CY
←
(saddr) + byte + CY
x
x
x
A, r
2
4
A, CY
←
A + r + CY
x
x
x
A, saddr
2
4
A, CY
←
A + (saddr) + CY
x
x
x
A, !addr16
3
8
A, CY
←
A + (addr16) + CY
x
x
x
A, [HL]
1
6
A, CY
←
A + (HL) + CY
x
x
x
A, [HL+byte]
2
6
A, CY
←
A + (HL + byte) + CY
x
x
x
SUB
A, #byte
2
4
A, CY
←
A
−
byte
x
x
x
saddr, #byte
3
6
(saddr), CY
←
(saddr)
−
byte
x
x
x
A, r
2
4
A, CY
←
A
−
r
x
x
x
A, saddr
2
4
A, CY
←
A
−
(saddr)
x
x
x
A, !addr16
3
8
A, CY
←
A
−
(addr16)
x
x
x
A, [HL]
1
6
A, CY
←
A
−
(HL)
x
x
x
A, [HL+byte]
2
6
A, CY
←
A
−
(HL + byte)
x
x
x
Note
Only when rp = BC, DE, or HL.
Remark
One instruction clock cycle is one CPU clock cycle (f
CPU
) selected by the processor clock control
register (PCC).
Summary of Contents for mPD789425
Page 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Page 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Page 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Page 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Page 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Page 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Page 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Page 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Page 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Page 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Page 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Page 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Page 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...