Alu - Arithmetic Logic Unit; Sram Data Memory - Atmel AVR ATmega103 Manual

8-bit microcontroller with 128k bytes in-system programmable flash
Table of Contents

Advertisement

X-register, Y-register and Z-
register
ALU – Arithmetic Logic
Unit
ISP Flash Program
Memory

SRAM Data Memory

ATmega103(L)
10
The registers R26..R31 have some added functions to their general-purpose usage.
These registers are address pointers for indirect addressing of the SRAM. The three
indirect address registers X, Y, and Z are defined as:
Figure 6. X-, Y-, and Z-registers
15
X-register
7
15
Y-register
7
15
Z-register
7
In the different addressing modes these address registers have functions as fixed dis-
placement, automatic increment and decrement (see the descriptions for the different
instructions).
The high-performance AVR ALU operates in direct connection with all the 32 general-
purpose working registers. Within a single clock cycle, ALU operations between regis-
ters in the register file are executed. The ALU operations are divided into three main
categories: arithmetic, logical and bit functions.
The ATmega103(L) contains 128K bytes of On-chip In-System Programmable Flash
memory for program storage. Since all instructions are single or double 16-bit words, the
Flash is organized as 64K x 16. The Flash memory has an endurance of at least 1000
write/erase cycles.
Constant tables can be allocated in the entire program memory space (see the LPM –
Load Program Memory and ELPM – Extended Load Program Memory instruction
descriptions).
The ATmega103(L) supports two different configurations for the SRAM data memory as
listed in Table 1.
Table 1. Memory Configurations
Configuration
Internal SRAM Data Memory
A
B
Note:
When using 64K of external SRAM, 60K will be available.
0
7
R27 ($1B)
0
7
R29 ($1D)
0
7
R31 ($1F)
4000
4000
R26 ($1A)
R28 ($1C)
R30 ($1E)
External SRAM Data Memory
None
up to 64K
0945G–09/01
0
0
0
0
0
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AVR ATmega103 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Avr atmega103l

Table of Contents