CHAPTER 14 INSTRUCTION SET
User's Manual U11919EJ3V0UM00
188
Flag
Mnemonic
Operands
Byte
Clock
Operation
Z
AC CY
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
MOVW
rp,AX
Note
1
4
rp
←
AX
XCHW
AX,rp
Note
1
8
AX
↔
rp
A,#byte
2
4
A,CY
←
A + byte
×
×
×
saddr,#byte
3
6
(saddr),CY
←
(saddr) + byte
×
×
×
A,r
2
4
A,CY
←
A + r
×
×
×
A,saddr
2
4
A,CY
←
A + (saddr)
×
×
×
A,!addr16
3
8
A,CY
←
A + (addr16)
×
×
×
A,[HL]
1
6
A,CY
←
A + (HL)
×
×
×
ADD
A,[HL+byte]
2
6
A,CY
←
A + (HL+byte)
×
×
×
A,#byte
2
4
A,CY
←
A + byte + CY
×
×
×
saddr,#byte
3
6
(saddr),CY
←
(saddr) + byte + CY
×
×
×
A,r
2
4
A,CY
←
A + r + CY
×
×
×
A,saddr
2
4
A,CY
←
A + (saddr) + CY
×
×
×
A,!addr16
3
8
A,CY
←
A + (addr16) + CY
×
×
×
A,[HL]
1
6
A,CY
←
A + (HL) + CY
×
×
×
ADDC
A,[HL+byte]
2
6
A,CY
←
A + (HL+byte) + CY
×
×
×
A,#byte
2
4
A,CY
←
A
−
byte
×
×
×
saddr,#byte
3
6
(saddr),CY
←
(saddr)
−
byte
×
×
×
A,r
2
4
A,CY
←
A
−
r
×
×
×
A,saddr
2
4
A,CY
←
A
−
(saddr)
×
×
×
A,!addr16
3
8
A,CY
←
A
−
(addr16)
×
×
×
A,[HL]
1
6
A,CY
←
A
−
(HL)
×
×
×
SUB
A,[HL+byte]
2
6
A,CY
←
A
−
(HL+byte)
×
×
×
Note
Only when rp = BC, DE, or HL.
Remark
One instruction clock cycle is one CPU clock cycle (f
CPU
) selected by processor clock control register
(PCC).
www.DataSheet4U.com
Summary of Contents for UPD789022
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...