User's Manual

MSM80C154S/83C154S/85C154HVS
250
5. ADD A, data address (Add memory)
00100101
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ADD A, P1
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(A)(A)+(data address):
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The specified data address contents are added to the
accumulator. The result is placed in the accumulator, and the
flags are updated.
:
00100101
70
Byte 1
Accumulator
01110010
70
2
1
10010000
70
Byte 2
Before execution
Accumulator
00111000
70
After execution
:
Port 1(90H)
11000110
70
Port 1(90H)
11000110
70