AT89LP213 Atmel Corporation, AT89LP213 Datasheet - Page 60

no-image

AT89LP213

Manufacturer Part Number
AT89LP213
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP213

Flash (kbytes)
2 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
14
Spi
1
Sram (kbytes)
0.125
Operating Voltage (vcc)
2.4 to 5.5
Timers
2
Isp
SPI/OCD
Watchdog
Yes
21. Instruction Set Summary
60
AT89LP213/214
The AT89LP213/214 is fully binary compatible with the MCS-51 instruction set. The difference
between the AT89LP213/214 and the standard 8051 is the number of cycles required to execute
an instruction. Instructions in the AT89LP213/214 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
INC DPTR
MUL AB
DIV AB
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
1
1
1
8051
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
24
48
48
Clock Cycles
Table
AT89LP
Cycle Count Formula
1
2
2
2
1
2
2
2
1
2
2
2
1
2
2
1
2
2
2
2
2
4
2
21-1.
# bytes + 1
# bytes
2
4
3
4
2
4
2
3538E–MICRO–11/10
Hex Code
28-2F
38-3F
98-9F
08-0F
18-1F
26-27
36-37
96-97
06-07
16-17
A3
A4
25
24
35
34
95
94
05
04
15
14
84

Related parts for AT89LP213