MSM80C154S/83C154S/85C154HVS
248
3. ADD A, @Rr (Add indirect address)
0010011r
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ADD A, @R0
Instruction code
: Byte 1
(A)←(A)+((Rr)) r=0 or 1:
C AC F0 RS1 RS0 OV F1 P
•• • •
:
:
:
The data memory location contents addressed by the register r
contents are added to the accumulator. The result is placed in
the accumulator, and the flags are updated.
:
00100110
70
Byte 1
Accumulator
01001101
70
1
1
Before execution
Accumulator
10110110
70
After execution
:
Register 0
01011100
70
Register 0
01011100
70
5CH
01101001
70
5CH
01101001
70