DESCRIPTION OF INSTRUCTIONS
233
7.3 List of Instructions
MSM80C154S/MSM83C154S instruction table
0
0000
1
0001
2
0010
3
0011
4
0100
5
0101
6
0110
7
0111
8
1000
9
1001
A
1010
B
1011
C
1100
D
1101
E
1110
F
1111
NOP
AJMP
address
11
(Page
0)
LJMP
address
16
RR
A
INC
A
INC
direct
INC
@R0
INC
@R1
INC
R0
INC
R1
INC
R2
INC
R3
INC
R4
INC
R5
INC
R6
INC
R7
JBC
bit,
rel
ACALL
address
11
(Page
0)
LCALL
address
16
RRC
A
DEC
A
DEC
direct
DEC
@R0
DEC
@R1
DEC
R0
DEC
R1
DEC
R2
DEC
R3
DEC
R4
DEC
R5
DEC
R6
DEC
R7
JB
bit,
rel
AJMP
address
11
(Page
1)
RET
RL
A
ADD
A,
#data
ADD
A,
direct
ADD
A,
@R0
ADD
A,
@R1
ADD
A,
R0
ADD
A,
R1
ADD
A,
R2
ADD
A,
R3
ADD
A,
R4
ADD
A,
R5
ADD
A,
R6
ADD
A,
R7
JNB
bit,
rel
ACALL
address
11
(Page
1)
RETI
RLC
A
ADDC
A,
#data
ADDC
A,
direct
ADDC
A,
@R0
ADDC
A,
@R1
ADDC
A,
R0
ADDC
A,
R1
ADDC
A,
R2
ADDC
A,
R3
ADDC
A,
R4
ADDC
A,
R5
ADDC
A,
R6
ADDC
A,
R7
JC
bit,
rel
AJMP
address
11
(Page
2)
ORL
direct,
A
ORL
direct
,#data
ORL
A,
#data
ORL
A,
direct
ORL
A,
@R0
ORL
A,
@R1
ORLA,
R0
ORLA,
R1
ORLA,
R2
ORLA,
R3
ORLA,
R4
ORLA,
R5
ORLA,
R6
ORLA,
R7
JNC
rel
ACALL
address
11
(Page
2)
ANL
direct,
A
ANL
direct
,#data
ANL
A,
#data
ANL
A,
direct
ANL
A,
@R0
ANL
A,
@R1
ANLA,
R0
ANLA,
R1
ANLA,
R2
ANLA,
R3
ANLA,
R4
ANLA,
R5
ANLA,
R6
ANLA,
R7
JZ
rel
AJMP
address
11
(Page
3)
XRL
direct,
A
XRL
direct
,#data
XRL
A,
#data
XRL
A,
direct
XRL
A,
@R0
XRL
A,
@R1
XRLA,
R0
XRLA,
R1
XRLA,
R2
XRLA,
R3
XRLA,
R4
XRLA,
R5
XRLA,
R6
XRLA,
R7
JNZ
rel
ACALL
address
11
(Page
3)
ORL
C,
bit
JMP
@A+DPTR
MOV
A,
#data
MOV
direct
,#data
MOV
@R0,
#data
MOV
@R1,
#data
MOV
R0,
#data
MOV
R1,
#data
MOV
R2,
#data
MOV
R3,
#data
MOV
R4,
#data
MOV
R5,
#data
MOV
R6,
#data
MOV
R7,
#data
SJMP
rel
AJMP
address
11
(Page
4)
ANL
C,
bit
MOVC
A,
@A+PC
DIV
AB
MOV
direct
1,
direct
2
MOV
direct,
@R0
MOV
direct,
@R1
MOV
direct,
R0
MOV
direct,
R1
MOV
direct,
R2
MOV
direct,
R3
MOV
direct,
R4
MOV
direct,
R5
MOV
direct,
R6
MOV
direct,
R7
MOV
DPTR,
#data
16
ACALL
address
11
(Page
4)
MOV
bit,
C
MOVC
A,
@A+DPTR
SUBB
A,
#data
SUBB
A,
direct
SUBB
A,
@R0
SUBB
A,
@R1
SUBB
A,
R0
SUBB
A,
R1
SUBB
A,
R2
SUBB
A,
R3
SUBB
A,
R4
SUBB
A,
R5
SUBB
A,
R6
SUBB
A,
R7
ORL
C,/bit
AJMP
address
11
(Page
5)
MOV
C,
bit
INC
DPTR
MUL
AB
—
MOV
@R0,
direct
MOV
@R1,
direct
MOV
R0,
direct
MOV
R1,
direct
MOV
R2,
direct
MOV
R3,
direct
MOV
R4,
direct
MOV
R5,
direct
MOV
R6,
direct
MOV
R7,
direct
ANL
C,/bit
ACALL
address
11
(Page
5)
CPL
bit
CPL
C
CJNE
A,
#data,
rel
CJNE
A,
direct,
rel
CJNE@R0,
#data,
rel
CJNE@R1,
#data,
rel
CJNE
R0,
#data,
rel
CJNE
R1,
#data,
rel
CJNE
R2,
#data,
rel
CJNE
R3,
#data,
rel
CJNE
R4,
#data,
rel
CJNE
R5,
#data,
rel
CJNE
R6,
#data,
rel
CJNE
R7,
#data,
rel
PUSH
direct
AJMP
address
11
(Page
6)
CLR
bit
CLR
C
SWAP
A
XCH
A,
direct
XCH
A,
@R0
XCH
A,
@R1
XCHA,
R0
XCHA,
R1
XCHA,
R2
XCHA,
R3
XCHA,
R4
XCHA,
R5
XCHA,
R6
XCHA,
R7
POP
direct
ACALL
address
11
(Page
6)
STEB
bit
STEB
C
DA
A
DJNZ
direct,
rel
XCHD
A,
@R0
XCHD
A,
@R1
DJNZ
R0,
rel
DJNZ
R1,
rel
DJNZ
R2,
rel
DJNZ
R3,
rel
DJNZ
R4,
rel
DJNZ
R5,
rel
DJNZ
R6,
rel
DJNZ
R7,
rel
MOVX
A,
@DPTR
AJMP
address
11
(Page
7)
MOVX
A,
@R0
MOVX
A,
@R1
CLR
A
MOV
A,
direct
MOV
A,
@R0
MOV
A,
@R1
MOVA,
R0
MOVA,
R1
MOVA,
R2
MOVA,
R3
MOVA,
R4
MOVA,
R5
MOVA,
R6
MOVA,
R7
MOVX
@DPTR,
A
ACALL
address
11
(Page
7)
MOVX
@R0,
A
MOVX
@R1,
A
CPL
A
MOV
direct
A
MOV
@R0
A
MOV
@R1
A
MOVR0,
A
MOVR1,
A
MOVR2,
A
MOVR3,
A
MOVR4,
A
MOVR5,
A
MOVR6,
A
MOVR7,
A
0
0000
1
0001
2
0010
3
0011
4
0100
5
0101
6
0110
7
0111
8
1000
9
1001
A
1010
B
1011
C
1100
D
1101
E
1110
F
1111
L
H