STC15W104

指令集


如下:

格式週期
ADD A, Rn1
ADD A, direct2
ADD A, @Ri2
ADD A, #data2
ADDC A, Rn2
ADDC A, direct1
ADDC A, @Ri2
ADDC A, #data2
SUBB A, Rn1
SUBB A, direct2
SUBB A, @Ri2
SUBB A, #data2
INC A1
INC Rn2
INC direct3
INC @Ri3
DEC A1
DEC Rn2
DEC direct3
DEC @Ri3
INC DPTR1
MUL AB2
DIV AB6
DA A3
ANL A, Rn1
ANL A, direct2
ANL A, @Ri2
ANL A, #data2
ANL direct, A3
ANL direct, #data3
ORL A, Rn1
ORL A, direct2
ORL A, @Ri2
ORL A, #data2
ORL direct, A3
ORL direct, #data3
XRL A, Rn1
XRL A, direct2
XRL A, @Ri2
XRL A, #data2
XRL direct, A3
XRL direct, #data3
CLR A1
CPL A1
RL A1
RLC A1
RR A1
RRC A1
SWAP A1
MOV A, Rn1
MOV A, direct2
MOV A, @Ri2
MOV A, #data2
MOV Rn, A1
MOV Rn, direct3
MOV Rn, #data2
MOV direct, A2
MOV direct, Rn2
MOV direct, direct3
MOV direct, @Ri3
MOV direct, #data3
MOV @Ri, A2
MOV @Ri, direct3
MOV @Ri, #data2
MOV DPTR, #data163
MOVC A, @A+DPTR5
MOVC A, @A+PC4
MOVX A, @Ri3
MOVX @Ri, A4
MOVX A, @DPTR2
MOVX @DPTR, A3
MOVX A, @Ri5xN+2
MOVX @Ri, A5×N+3
MOVX A, @DPTR5×N+1
MOVX @DPTR, A5×N+2
PUSH direct3
POP direct2
XCH A, Rn2
XCH A, direct3
XCH A, @Ri3
XCHD A, @Ri3
CLR C1
CLR bit3
SETB C1
SETB bit3
CPL C1
CPL bit3
ANL C, bit2
ANL C, /bit2
ORL C, bit2
ORL C, /bit2
MOV C, bit2
MOV bit, C3
JC rel3
JNC rel3
JB bit, rel5
JNB bit, rel5
JBC bit, rel5
ACALL addr114
LCALL addr164
RET4
RETI4
AJMP addr113
LJMP addr164
SJMP re13
JMP @A+DPTR5
JZ re14
JNZ re14
CJNE A, direct, re15
CJNE A, #data, re14
CJNE Rn, #data, re14
CJNE @Ri, #data, re15
DJNZ Rn, re14
DJNZ direct, re15
NOP1


返回上一頁