Instruction Set - CMOSTEK CMT2380F17 Manual

Ultra low power sub-1ghz wireless mcu
Table of Contents

Advertisement

33 Instruction Set

MNEMONIC
DATA TRASFER
MOV A,Rn
MOV A,direct
MOV A,@Ri
MOV A,#data
MOV Rn,A
MOV Rn,direct
MOV Rn,#data
MOV direct,A
MOV direct,Rn
MOV direct,direct
MOV direct,@Ri
MOV direct,#data
MOV @Ri,A
MOV @Ri,direct
MOV @Ri,#data
MOV DPTR,#data16
MOVC A,@A+DPTR
MOVC A,@A+PC
MOVX A,@Ri
MOVX A,@DPTR
MOVX @Ri,A
MOVX @DPTR,A
MOVX A,@Ri
MOVX A,@DPTR
MOVX @Ri,A
MOVX @DPTR,A
PUSH direct
POP direct
XCH A,Rn
XCH A,direct
XCH A,@Ri
XCHD A,@Ri
ARITHEMATIC OPERATIONS
ADD A,Rn
ADD A,direct
ADD A,@Ri
ADD A,#data
ADDC A,Rn
ADDC A,direct
ADDC A,@Ri
DESCRIPTION
Move register to Acc
Move direct byte o Acc
Move indirect RAM to Acc
Move immediate data to Acc
Move Acc to register
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
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
Move on-chip auxiliary RAM(8-bit address) to Acc
Move on-chip auxiliary RAM(16-bit address) to Acc
Move Acc to on-chip auxiliary RAM(8-bit address)
Move Acc to on-chip auxiliary RAM(16-bit address)
Move external RAM(8-bit address) to Acc
Move external RAM(16-bit address) to Acc
Move Acc to external RAM(8-bit address)
Move Acc to external RAM(16-bit address)
Push direct byte onto Stack
Pop direct byte from Stack
Exchange register with Acc
Exchange direct byte with Acc
Exchange indirect RAM with Acc
Exchange low-order digit indirect RAM with Acc
Add register to Acc
Add direct byte to Acc
Add indirect RAM to Acc
Add immediate data to Acc
Add register to Acc with Carry
Add direct byte to Acc with Carry
Add indirect RAM to Acc with Carry
Rev0.1 | 339/347
CMT2380F17
EXECUTION
BYTE
Cycles
1
1
2
2
1
2
2
2
1
2
2
4
2
2
2
3
2
3
3
4
2
4
3
3
1
3
2
3
2
3
3
3
1
4
1
4
1
3
1
3
1
3
1
3
1
not support
1
not support
1
not support
1
not support
2
4
2
3
1
3
2
4
1
4
1
4
1
2
2
3
1
3
2
2
1
2
2
3
1
3
www.cmostek.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CMT2380F17 and is the answer not in the manual?

Questions and answers

Table of Contents