534
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
CMP
A, #byte
2
A – byte
×
×
×
V
×
r, #byte
3
r – byte
×
×
×
V
×
saddr, #byte
3/4
(saddr) – byte
×
×
×
V
×
sfr, #byte
4
sfr – byte
×
×
×
V
×
r, r'
2/3
r – r'
×
×
×
V
×
A, saddr2
2
A – (saddr2)
×
×
×
V
×
r, saddr
3
r – (saddr)
×
×
×
V
×
saddr, r
3
(saddr) – r
×
×
×
V
×
r, sfr
3
r – sfr
×
×
×
V
×
sfr, r
3
sfr – r
×
×
×
V
×
saddr, saddr'
4
(saddr) – (saddr')
×
×
×
V
×
A, [saddrp]
3/4
A – ((saddrp))
×
×
×
V
×
A, [%saddrg]
3/4
A – ((saddrg))
×
×
×
V
×
[saddrp], A
3/4
((saddrp)) – A
×
×
×
V
×
[%saddrg], A
3/4
((saddrg)) – A
×
×
×
V
×
A, !addr16
4
A – (addr16)
×
×
×
V
×
A, !!addr24
5
A – (addr24)
×
×
×
V
×
!addr16, A
4
(addr16) – A
×
×
×
V
×
!!addr24, A
5
(addr24) – A
×
×
×
V
×
A, mem
2-5
A – (mem)
×
×
×
V
×
mem, A
2-5
(mem) – A
×
×
×
V
×