AT89LP3240 Atmel Corporation, AT89LP3240 Datasheet - Page 149

no-image

AT89LP3240

Manufacturer Part Number
AT89LP3240
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP3240

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
38
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
4.25
Eeprom (bytes)
8192
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 3.6
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP3240-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP3240-20JU
Manufacturer:
Atmel
Quantity:
10 000
22.1.5
22.1.6
3706C–MICRO–2/11
Description: INC /DPTR increments the unselected 16-bit data pointer by 1. A 16-bit increment (modulo 2
Description: JMP @A+PC adds the eight-bit unsigned contents of the Accumulator to the program counter, which is first
Operation: INC
Operation: JMP
Encoding:
Encoding:
Function: Increment Alternate Data Pointer
Function: Jump indirect relative to PC
INC /DPTR
JMP @A+PC
Example: Registers DP1H and DP1L contain 12H and 0FEH, respectively, and DPS = 0. The following instruction
Example: An even number from 0 to 6 is in the Accumulator. The following sequence of instructions branches to one of four
Cycles: 3
Cycles: 3
Bytes: 2
Bytes: 2
and an overflow of the low-order byte of the data pointer from 0FFH to 00H increments the high-order byte. No
flags are affected.
sequence,
INC
INC
INC
changes DP1H and DP1L to 13H and 01H.
IF (DPS) = 0
THEN
ELSE
incremented by two. This is the address for subsequent instruction fetches. Sixteen-bit addition is performed
(modulo 2
Accumulator is not altered. No flags are affected.
AJMP instructions in a jump table starting at JMP_TBL.
JMP_TBL:
If the Accumulator equals 04H when starting this sequence, execution jumps to label LABEL2. Because AJMP is
a 2-byte instruction, the jump instructions start at every other address.
(PC) ← (A) + (PC) + 2
A5
A5
(DPTR1) ← (DPTR1) + 1
(DPTR0) ← (DPTR0) + 1
/DPTR
/DPTR
/DPTR
JMP
AJMP LABEL0
AJMP LABEL1
AJMP LABEL2
AJMP LABEL3
16
): a carry-out from the low-order eight bits propagates through the higher-order bits. The
@A + PC
1
0
0
1
1
1
0
1
0
0
0
0
1
1
1
1
AT89LP3240/6440
16
) is performed,
149

Related parts for AT89LP3240