User's Manual

DESCRIPTION OF INSTRUCTIONS
251
6. ADDC A, #data (Add carry plus immediate data to accumulator)
00110100
70
Instruction code
#data
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ADDC A, #76H
Instruction code
: Byte 1
I7 I6 I5 I4 I3 I2 I1 I0
70
Byte 2
(A)(A)+(C)+#data:
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The carry flag is added to the accumulator, and an 8-bit
immediate data is added to that result. The result is placed in
the accumulator, and the flags are updated.
:
00110100
70
Byte 1
Accumulator
01011001
70
2
1
01110110
70
Byte 2
Before execution
Accumulator
11010000
70
After execution
:
1
Carry flag
0
Carry flag