<< Previous | Next >>

ADC A,r     Add With Carry     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
---- ADC A,r A = A + r + CF
7F 8F ADC A,A A = A + A + CF
7F 88 ADC A,B A = A + B + CF
7F 89 ADC A,C A = A + C + CF
7F 8A ADC A,D A = A + D + CF
7F 8B ADC A,E A = A + E + CF
7F 8C ADC A,H A = A + H + CF
7F 8D ADC A,L A = A + L + CF

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
4
n/a
n/a
Rabbit 5000
2
2
2

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
V
·
·
·

Description

A is summed with the C flag and with r (any of the registers A, B, C, D, E, H, or L). The result is stored in A. The Rabbit 4000/5000 assemblers view "ADC A,r" and "ADC r" as equivalent instructions. In the latter case, A is used even though it is not explicitly stated.

The opcodes for these instructions are different than the same instructions in the Rabbit 2000, 3000 and 3000A.


Rabbit Instructions << Previous | Next >> rabbit.com