ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 15

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
SRAM Data Memory
2543C–AVR–12/03
Figure 9 shows how the ATtiny2313 SRAM Memory is organized.
The lower 224 data memory locations address both the Register File, the I/O memory,
Extended I/O memory, and the internal data SRAM. The first 32 locations address the
Register File, the next 64 location the standard I/O memory, and the next 128 locations
address the internal data SRAM.
The five different addressing modes for the data memory cover: Direct, Indirect with Dis-
placement, Indirect, Indirect with Pre-decrement, and Indirect with Post-increment. In
the Register File, registers R26 to R31 feature the indirect addressing pointer registers.
The direct addressing reaches the entire data space.
The Indirect with Displacement mode reaches 63 address locations from the base
address given by the Y- or Z-register.
When using register indirect addressing modes with automatic pre-decrement and post-
increment, the address registers X, Y, and Z are decremented or incremented.
The 32 general purpose working registers, 64 I/O Registers, and the 128 bytes of inter-
nal data SRAM in the ATtiny2313 are all accessible through all these addressing
modes. The Register File is described in “General Purpose Register File” on page 9.
Figure 9. Data Memory Map
64 I/O Registers
Data Memory
Internal SRAM
32 Registers
(128 x 8)
0x00DF
0x0000 - 0x001F
0x0020 - 0x005F
0x0060
ATtiny2313/V
15

Related parts for ATTIny2313-16MI