Name
ADC
ADS
SBC
SBS
DECS
INCS
Table 5-19. Arithmetic Instructions — Binary Code Summary
Operand
A,@HL
EA,RR
Binary Code
Operation Notation
. . . C, A ← A + (HL) + C
. . . C, EA ← EA + RR + C
RRb,EA
. . ( .
. . . C, RRb ← RRb + EA + C
A, #im
EA,#imm
. . . ( .
. . + ( . A ← A + im; skip on carry
. . . . EA ← EA + imm; skip on carry
A,@HL
EA,RR
5 6 + ( .
. . A ← A+ (HL); skip on carry
. . . EA ← EA + RR; skip on carry
RRb,EA
. . ( .
. . . RRb ← RRb + EA; skip on carry
A,@HL
EA,RR
. . . ( .
. . . . C,A ← A-(HL)-C
. . . C, EA ← EA-RR-C
RRb,EA
. . ( .
. . . C,RRb ← RRb-EA-C
A,@HL
EA,RR
. . . ( .
. . . A ← A-(HL); skip on borrow
. . . EA ← EA-RR; skip on borrow
RRb,EA
. ( .
. . . RRb ← RRb-EA; skip on borrow
. . ( .
R
. . . ( . R ← R-1; skip on borrow
RR
. . . RR ← RR-1; skip on borrow
. ( .
R
. . ( . R ← R+1; skip on carry
DA
. . . . DA ← DA+1; skip on carry
@HL
5 6 + ( .
. . (HL) ← (HL)+1; skip on carry
RRb
. . . . .
. . . . ( . RRb ← RRb+1; skip on carry