8051 Instruction Set Manual

MOVC

The MOVC instruction moves a byte from the code or program memory to the accumulator

See Also: MOV, MOVX

MOVC A, @A+DPTR
CACF0RS1RS0OV P
Bytes1
Cycles2
Encoding
10010011
Operation
MOVC
A = (A + DPTR)
Example
MOVC A, @A+DPTR
MOVC A, @A+PC
CACF0RS1RS0OV P
Bytes1
Cycles2
Encoding
10000011
Operation
MOVC
PC = PC + 1
A = (A+PC)
Example
MOV A, @A+PC

Related Knowledgebase Articles