Instructions Set
DATA TRASFER
DESCRIPTION
MNEMONIC
BYT CYC
MOV A, Rn
MOV A, direct
MOV A, @Ri
MOV A, #data
MOV Rn, A
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
1
2
1
2
1
2
2
2
2
3
2
3
1
2
2
3
1
1
1
1
1
1
2
2
1
2
1
1
1
2
2
2
2
4
2
3
3
4
4
3
3
3
3
3
4
4
3
3
3
3
4
3
3
4
4
4
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 Load DPTR with a 16-bit constant
MOVC A,@A+DPTR Move code byte relative to DPTR to Acc
MOVC A,@A+PC
MOVX A, @Ri
MOVX A, @DPTR
MOVX @Ri, A
MOVX @DPTR, A
PUSH direct
Move direct byte to indirect RAM
Move immediate data to indirect RAM
Move code byte relative to PC to Acc
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
POP direct
XCH A, Rn
XCH A, direct
XCH A, @Ri
XCHD A, @Ri
ARITHEMATIC OPERATIONS
DESCRIPTION
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
ADD IMMEDIATE DATA TO ACC WITH CARRY
SUBTRACT REGISTER FROM ACC WITH BORROW
SUBTRACT DIRECT BYTE FROM ACC WITH BORROW
SUBTRACT INDIRECT RAM FROM ACC WITH BORROW
SUBTRACT IMMEDIATE DATA FROM ACC WITH BORROW
INCREMENT ACC
INCREMENT REGISTER
INCREMENT DIRECT BYTE
INCREMENT INDIRECT RAM
DECREMENT ACC
DECREMENT REGISTER
DECREMENT DIRECT BYTE
DECREMENT INDIRECT RAM
INCREMENT DPTR
MULTIPLY A AND B
MNEMONIC
ADD A, Rn
ADD A, direct
ADD A, @Ri
ADD A, #data
ADDC A, Rn
ADDC A, direct
ADDC A, @Ri
ADDC A, #data
SUBB A, Rn
SUBB A, direct
SUBB A, @Ri
SUBB A, #data
INC A
INC Rn
INC direct
INC @Ri
DEC A
DEC Rn
DEC direct
DEC @Ri
INC DPTR
MUL AB
DIV AB
BYT CYC
1
2
1
2
1
2
1
2
1
2
1
2
1
1
2
1
1
1
2
1
1
1
1
1
2
3
3
2
2
3
3
2
2
3
3
2
2
3
4
4
2
3
4
4
1
4
5
4
DIVIDE A BY B
DA A
DECIMAL ADJUST ACC
MEGAWIN
MPC82x54A Data Sheet
65