CHAPTER 19 INSTRUCTION SET
User’s Manual U15075EJ1V0UM00
303
Mnemonic
Operands
Byte
Clock
Operation
Flag
Z AC CY
SUBC
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
AND
A, #byte
2
4
A
←
A
∧
byte
x
saddr, #byte
3
6
(saddr)
←
(saddr)
∧
byte
x
A, r
2
4
A
←
A
∧
r
x
A, saddr
2
4
A
←
A
∧
(saddr)
x
A, !addr16
3
8
A
←
A
∧
(addr16)
x
A, [HL]
1
6
A
←
A
∧
(HL)
x
A, [HL+byte]
2
6
A
←
A
∧
(HL + byte)
x
OR
A, #byte
2
4
A
←
A
∨
byte
x
saddr, #byte
3
6
(saddr)
←
(saddr)
∨
byte
x
A, r
2
4
A
←
A
∨
r
x
A, saddr
2
4
A
←
A
∨
(saddr)
x
A, !addr16
3
8
A
←
A
∨
(addr16)
x
A, [HL]
1
6
A
←
A
∨
(HL)
x
A, [HL+byte]
2
6
A
←
A
∨
(HL + byte)
x
XOR
A, #byte
2
4
A
←
A V byte
x
saddr, #byte
3
6
(saddr)
←
(saddr) V byte
x
A, r
2
4
A
←
A V r
x
A, saddr
2
4
A
←
A V (saddr)
x
A, !addr16
3
8
A
←
A V (addr16)
x
A, [HL]
1
6
A
←
A V (HL)
x
A, [HL+byte]
2
6
A
←
A V (HL + byte)
x
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 ...