<< Previous | Next >>

ADC A,n     Add With Carry     Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

CE n

ADC A,n

4 (2,2)

A = A + n + CF


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 assembler views "ADC A,n" and "ADC n" as equivalent instructions. In the latter case, A is used even though it is not explicitly stated.


<< Previous | Next >>