T5L_ASIC Development Guide
- 30
-
www.dwin-global.com
DWIN Technology
Professional,
Creditable,
S
uccessful
3.10 T5L ASIC 8051 Instruction Set
Instruction format
Instruction
length
Instruction
cycle
Instruction format
Instruction
length
Instruction
cycle
ADD/ADDDC A,Rn
1
1
MOV @Ri,direct
2
2
ADD/ADDDC A,direct
2
2
MOV @Ri,#data
2
2
ADD/ADDDC A,@Ri
1
2
MOV DPTR,#data16
3
3
ADD/ADDDC A,@data
2
2
MOVC A,@A+DPTR
1
3
SUBB A,Rn
1
1
MOVC A,@A+PC
1
3
SUBB A,direct
2
2
MOVX A,@Ri
1
3
SUBB A,@Ri
1
2
MOVX A,@DPTR
1
3
SUBB A,#data
2
2
MOVX A,@Ri,A
1
3
INC/DEC A
1
1
MOVX @DPTR,A
1
3
INC/DEC Rn
1
1
PUSH/POP
1
2
INC/DEC direct
2
2
XCH A,Rn
1
1
INC/DEC @Ri
1
2
XCH A,direct
2
2
INC DPTP
1
1
XCH A,@Ri
1
2
MUL AB
1
4
XCHD A,@Ri
1
2
DIV AB
1
4
ACALL addr11
2
2
DA A
1
1
LCALL addr16
3
3
ANL/ORL/XRL A,Rn
1
1
RET/RETI
1
4
ANL/ORL/XRL A,direct
2
2
AJMP addr11
2
2
ANL/ORL/XRL A,@Ri
1
2
LJMP addr16
3
3
ANL/ORL/XRL A,#data
2
2
SJMP rel
2
2
ANL/ORL/XRL direct,A
2
2
JMP @A+DPTR
1
3
ANL/0RL/XRL direct,#data
3
3
JZ/JNZ/JC/JNC rel
2
3
CLR A
1
1
JB/JNB/JBC
3
4
CPL A
1
1
CJNE A,direct,rel
3
4
RL/RR A
1
1
CJNE A,#data,rel
3
4
RLC/RRC A
1
1
CJNE Rn,#data,rel
3
4
SWAP A
1
1
CJNE @Ri,#data,rel
3
5
MOV A,Rn
1
1
DJNZ Rn,rel
2
3
MOV A,direct
2
2
DJNZ direct,rel
3
4
MOV A,@Ri
1
2
NOP
1
1
MOV A,#data
2
2
CLR/SETB C
1
1
MOV Rn,A
1
1
CLR/SETB bit
2
2
MOV Rn,direct
2
2
CPL C
1
2
MOV Rn,#data
2
2
CPL bit
2
2
MOV direct,A
2
2
ANL C,bit
2
2
MOV direct,Rn
2
2
ANL C,/bit
2
2
MOV direct1,direct2
3
3
ORL C,bit
2
2
MOV direct,@Ri
2
2
ORL C,/bit
2
2
MOV direct,#data
3
3
MOV C,bit
2
2