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