XA User Guide 6-122 4/17/98
MOVC Move Code to A (PC)
Syntax: MOVC A, [A+PC]
Operation: PC <- PC+2
(A) <-- code memory [PC.23-16: (A +PC.15-0)]
Note: Only 16-bits of A+PC are used
Description: The byte located at the code memory address formed by the sum of A and the current
Program Counter value is copied to the A register. The A register is a pre-defined register used for
80C51 compatibility. This instruction is included for 80C51 compatibility. See Chapter 9 for
details of 80C51 compatibility features.
Size: Byte-Byte
Flags Updated: N, Z
Bytes: 2
Clocks: 6
Encoding:
1 0 0 1 0 0 0 0 0 1 0 0 1 1 0 0