at89lp216-20xi ATMEL Corporation, at89lp216-20xi Datasheet - Page 59

no-image

at89lp216-20xi

Manufacturer Part Number
at89lp216-20xi
Description
At89lp216 8-bit Microcontroller With 2k Bytes Flash
Manufacturer
ATMEL Corporation
Datasheet
21. Instruction Set Summary
3621B–MICRO–11/07
The AT89LP216 is fully binary compatible with the MCS-51 instruction set. The difference
between the AT89LP216 and the standard 8051 is the number of cycles required to execute an
instruction. Instructions in the AT89LP216 may take 1, 2, 3 or 4 clock cycles to complete. The
execution times of most instructions may be computed using
Table 21-1.
Generic Instruction Types
Most arithmetic, logical, bit and transfer instructions
Branches and Calls
Single Byte Indirect (i.e. ADD A, @Ri, etc.)
RET, RETI
MOVC
MOVX
MUL
DIV
INC DPTR
Arithmetic
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 Rn
INC direct
INC @Ri
INC A
DEC Rn
DEC direct
DEC @Ri
DEC A
Instruction Execution Times and Exceptions
Bytes
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
8051
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
Clock Cycles
Table
21-1.
AT89LP
Cycle Count Formula
1
2
2
2
1
2
2
2
1
2
2
2
1
2
2
2
1
2
2
2
AT89LP216
# bytes + 1
# bytes
2
4
3
4
2
4
2
Hex Code
28-2F
26-27
38-3F
98-9F
08-0F
06-07
18-1F
16-17
36-37
96-97
25
24
35
34
95
94
05
04
15
14
59

Related parts for at89lp216-20xi