MSM80C154S/83C154S/85C154HVS
252
7. ADDC A, @Rr (Add carry plus indirect address to accumulator)
0011011r
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ADDC A, @R0
Instruction code
: Byte 1
(A)←(A)+(C)+((Rr)) r=0 or 1:
C AC F0 RS1 RS0 OV F1 P
•• • •
:
:
:
The carry flag is added to the accumulator, and the contents of
data memory location addressed by the register r contents are
added to the accumulator. The result is placed in the
accumulator, and the flags are updated.
:
00110110
70
Byte 1
Accumulator
11010101
70
1
1
Before execution
Accumulator
01010000
70
After execution
:
Register 0
01101011
70
Register 0
01101011
70
6BH
01111011
70
6BH
01111011
70
0
Carry flag
1
Carry flag