Sonic Alert msm85c154hvs Clock Radio User Manual


 
MSM80C154S/83C154S/85C154HVS
254
9. ADDC A, data address (Add carry plus memory to accumulator)
00110101
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ADDC A, 45H
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(A)(A)+(C)+(data address):
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The carry flag is added to the accumulator,and the specified
data address contents are added to that result. The result is
placed in the accumulator, and the flags are updated.
:
00110101
70
Byte 1
Accumulator
00110011
70
2
1
01000101
70
Byte 2
Before execution
Accumulator
10010010
70
After execution
:
45H
01011110
70
45H
01011110
1
Carry flag
0
Carry flag
70