Appendix J

8051 Instructions in lexical Order


Abbreviations:    
direct   =  8-bit DATA address in internal memory
const8   =  8-bit constant in CODE memory
const16  =  16-bit constant in CODE memory
addr16   =  16-bit long CODE address
addr11   =  11-bit absolute CODE address
rel   =  signed 8-bit relative CODE address
bit   =  8-bit BIT address in internal memory
i  =  register numbers 0 or 1
n  =  register numbers 0 thru 7
a  =  32 * m
m  =  the 3 most significant bits of an absolute address


OpcodeMnemonicOperandsBytesFlagsCycles
11 + aACALLaddr112     2
24ADDA, #const82CYACOV1
26 + iADDA, @Ri1CYACOV1
25ADDA, direct2CYACOV1
28 + nADDA, Rn1CYACOV1
34ADDCA, #const82CYACOV1
36 + iADDCA, @Ri1CYACOV1
35ADDCA, direct2CYACOV1
38 + nADDCA, Rn1CYACOV1
01 + aAJMPaddr112     2
54ANLA, #const82   1
56 + iANLA, @Ri1   1
55ANLA, direct2   1
58 + nANLA, Rn1   1
B0ANLC, /bit2CY    2
82ANLC, bit2CY    2
53ANLdirect, #const83     2
52ANLdirect, A2     1
B6 + iCJNE@Ri, #const8, rel3CY    2
B4CJNEA, #const8, rel3CY    2
B5CJNEA, direct, rel3CY    2
B8 + nCJNERn, #const8, rel3CY    2
E4CLRA1   1
C2CLRbit2     1
C3CLRC1CY    1
F4CPLA1   1
B2CPLbit2     1
B3CPLC1CY    1
D4DAA1CY  1
16 + iDEC@Ri1     1
14DECA1   1
15DECdirect2     1
18 + nDECRn1     1
84DIVAB1CY OV4
D5DJNZdirect, rel3     2
D8 + nDJNZRn, rel2     2
06 + iINC@Ri1     1
04INCA1   1
05INCdirect2     1
A3INCDPTR1     2
08 + nINCRn1     1
20JBbit, rel3     2
10JBCbit, rel3     2
40JCrel2     2
73JMP@A+DPTR1     2
30JNBbit, rel3     2
50JNCrel2     2
70JNZrel2     2
60JZrel2     2
12LCALLaddr163     2
02LJMPaddr163     2
76 + iMOV@Ri, #const82     1
F6 + iMOV@Ri, A1     1
A6 + iMOV@Ri, direct2     2
74MOVA, #const82   1
E6 + iMOVA, @Ri1   1
E5MOVA, direct2   1
E8 + nMOVA, Rn1   1
92MOVbit, C2     2
A2MOVC, bit2CY    1
75MOVdirect, #const83     2
86 + iMOVdirect, @Ri2     2
F5MOVdirect, A2     1
85MOVdirect, direct3     2
88 + nMOVdirect, Rn2     2
90MOVDPTR, #const163     2
78 + nMOVRn, #const82     1
F8 + nMOVRn, A1     1
A8 + nMOVRn, direct2     2
93MOVCA, @A+DPTR1   2
83MOVCA, @A+PC1   2
F0MOVX@DPTR, A1     2
F2 + iMOVX@Ri, A1     2
E0MOVXA, @DPTR1   2
E2 + iMOVXA, @Ri1   2
A4MULAB1CY OV4
00NOP 1     1
44ORLA, #const82   1
46 + iORLA, @Ri1   1
45ORLA, direct2   1
48 + nORLA, Rn1   1
A0ORLC, /bit2CY    2
72ORLC, bit2CY    2
43ORLdirect, #const83     2
42ORLdirect, A2     1
D0POPdirect2     2
C0PUSHdirect2     2
22RET 1     2
32RETI 1     2
23RLA1     1
33RLCA1CY  1
03RRA1     1
13RRCA1CY  1
D2SETBbit2     1
D3SETBC1CY    1
80SJMPrel2     2
94SUBBA, #const82CYACOV1
96 + iSUBBA, @Ri1CYACOV1
95SUBBA, direct2CYACOV1
98 + nSUBBA, Rn1CYACOV1
C4SWAPA1     1
C6 + iXCHA, @Ri1   1
C5XCHA, direct2   1
C8 + nXCHA, Rn1   1
D6 + iXCHDA, @Ri1   1
64XRLA, #const82   1
66 + iXRLA, @Ri1   1
65XRLA, direct2   1
68 + nXRLA, Rn1   1
63XRLdirect, #const83     2
62XRLdirect, A2     1



[contents] [up] [back]