26.3 Data Transfer
Execution
Clock Cycles
Mnemonic
Description
Byte
DATA TRANSFER
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
A,Rn
Move register to ACC
1
2
1
2
1
2
2
2
2
3
2
3
1
2
2
3
1
1
1
2
2
2
2
4
2
3
3
4
4
3
3
3
3
3
4
4
A,direct
A,@Ri
Move direct byte o ACC
Move indirect RAM to ACC
A,#data
Move immediate data to ACC
Move ACC to register
Rn,A
Rn,direct
Rn,#data
direct,A
direct,Rn
direct,direct
direct,@Ri
direct,#data
@Ri,A
Move direct byte to register
Move immediate data to register
Move ACC to direct byte
Move register to direct byte
Move direct byte to direct byte
Move indirect RAM to direct byte
Move immediate data to direct byte
Move ACC to indirect RAM
@Ri,direct
@Ri,#data
DPTR,#data16
Move direct byte to indirect RAM
Move immediate data to indirect RAM
Load DPTR with a 16-bit constant
Move code byte relative to DPTR to ACC
Move code byte relative to PC to ACC
MOVC A,@A+DPTR
MOVC A,@A+PC
Note1
MOVX A,@Ri
Move on-chip XRAM (8-bit address) to ACC
Move on-chip XRAM (16-bit address) to ACC
Move ACC to on-chip XRAM (8-bit address)
Move ACC to on-chip XRAM (16-bit address)
1
1
1
1
3
3
4
3
Note1
MOVX A,@DPTR
Note1
MOVX @Ri,A
Note1
MOVX @DPTR,A
Note2
Note3
MOVX A,@Ri
Move external data memory (8-bit address) to ACC
Move external data memory (16-bit address) to ACC
Move ACC to external data memory (8-bit address)
Move ACC to external data memory (16-bit address)
1
1
1
1
7
Note2
Note3
MOVX A,@DPTR
7
Note2
Note3
MOVX @Ri,A
7
Note2
Note3
MOVX @DPTR,A
7
PUSH direct
Push direct byte onto Stack
2
2
1
2
1
1
4
3
3
4
4
4
POP
XCH
XCH
XCH
direct
A,Rn
Pop direct byte from Stack
Exchange register with ACC
A,direct
A,@Ri
Exchange direct byte with ACC
Exchange indirect RAM with ACC
Exchange low-order digit indirect RAM with ACC
XCHD A,@Ri
Note1:
For the control bit EXTRAM=0, all “MOVX” instructions are directed to the on-chip expanded XRAM.
Note2:
For the control bit EXTRAM=1, all “MOVX” instructions are directed to the external data memory.
Note3:
The cycle time for access of external data memory is:
7 + 2 x (ALE_Stretched_Clocks) + (RW_Stretched_Clocks)
125
MPC82G516A Data Sheet
MEGAWIN