Sonic Alert msm85c154hvs Clock Radio User Manual


 
DESCRIPTION OF INSTRUCTIONS
329
70. MOVC A, @A + DPTR
(Move code memory offset from data pointer to accumulator)
10010011
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example MOVC A, @A+DPTR
Instruction code
: Byte 1
(A)((A)+(DPTR)):
C AC F0 RS1 RS0 OV F1 P
:
:
:
The data pointer contents are added to the accumulator con-
tents, and after temporary storage of the sum in the program
counter, the ROM data contents specified by the program
counter are stored in the accumulator. The program counter
contents are then restored to former contents, and the flag is
updated.
:
1
2
10010011
70
Byte 1
Before execution After execution
:
DPH
15 8
0000000100001001
70
DPH
15 8
0000000100001001
70
Accumulator
11110111
70
Accumulator
01010101
70
0200H
01010101
70
0200H
01010101
70
DPL DPL