<< Previous | Next >>

ADC A,n     Add With Carry     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
CE n ADC A,n A = A + n + CF

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

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

Description

The 8-bit constant n is summed with the C flag and A. The sum is stored in A.

The Rabbit 4000/5000 assemblers view "ADC A,n" and "ADC n" as equivalent instructions. In the latter case, A is used even though it is not explicitly stated.


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