CMT2380F17
Rev0.1 | 339/347
www.cmostek.com
33 Instruction Set
MNEMONIC
DESCRIPTION
BYTE
EXECUTION
Cycles
DATA TRASFER
MOV A,Rn
Move register to Acc
1
1
MOV A,direct
Move direct byte o Acc
2
2
MOV A,@Ri
Move indirect RAM to Acc
1
2
MOV A,#data
Move immediate data to Acc
2
2
MOV Rn,A
Move Acc to register
1
2
MOV Rn,direct
Move direct byte to register
2
4
MOV Rn,#data
Move immediate data to register
2
2
MOV direct,A
Move Acc to direct byte
2
3
MOV direct,Rn
Move register to direct byte
2
3
MOV direct,direct
Move direct byte to direct byte
3
4
MOV direct,@Ri
Move indirect RAM to direct byte
2
4
MOV direct,#data
Move immediate data to direct byte
3
3
MOV @Ri,A
Move Acc to indirect RAM
1
3
MOV @Ri,direct
Move direct byte to indirect RAM
2
3
MOV @Ri,#data
Move immediate data to indirect RAM
2
3
MOV DPTR,#data16
Load DPTR with a 16-bit constant
3
3
MOVC A,@A+DPTR
Move code byte relative to DPTR to Acc
1
4
MOVC A,@A+PC
Move code byte relative to PC to Acc
1
4
MOVX A,@Ri
Move on-chip auxiliary RAM(8-bit address) to Acc
1
3
MOVX A,@DPTR
Move on-chip auxiliary RAM(16-bit address) to Acc
1
3
MOVX @Ri,A
Move Acc to on-chip auxiliary RAM(8-bit address)
1
3
MOVX @DPTR,A
Move Acc to on-chip auxiliary RAM(16-bit address)
1
3
MOVX A,@Ri
Move external RAM(8-bit address) to Acc
1
not support
MOVX A,@DPTR
Move external RAM(16-bit address) to Acc
1
not support
MOVX @Ri,A
Move Acc to external RAM(8-bit address)
1
not support
MOVX @DPTR,A
Move Acc to external RAM(16-bit address)
1
not support
PUSH direct
Push direct byte onto Stack
2
4
POP direct
Pop direct byte from Stack
2
3
XCH A,Rn
Exchange register with Acc
1
3
XCH A,direct
Exchange direct byte with Acc
2
4
XCH A,@Ri
Exchange indirect RAM with Acc
1
4
XCHD A,@Ri
Exchange low-order digit indirect RAM with Acc
1
4
ARITHEMATIC OPERATIONS
ADD A,Rn
Add register to Acc
1
2
ADD A,direct
Add direct byte to Acc
2
3
ADD A,@Ri
Add indirect RAM to Acc
1
3
ADD A,#data
Add immediate data to Acc
2
2
ADDC A,Rn
Add register to Acc with Carry
1
2
ADDC A,direct
Add direct byte to Acc with Carry
2
3
ADDC A,@Ri
Add indirect RAM to Acc with Carry
1
3
Summary of Contents for CMT2380F17
Page 27: ...CMT2380F17 Rev0 1 27 347 www cmostek com 1 25 Phase Noise...
Page 177: ...CMT2380F17 Rev0 1 177 347 www cmostek com Figure 17 3 PCA Interrupt System...
Page 246: ...CMT2380F17 Rev0 1 246 347 www cmostek com SnMIPS S0MI S1MI 1 P3 3 P4 7...