ATMEGA128-16AU SL383 Atmel, ATMEGA128-16AU SL383 Datasheet - Page 13

no-image

ATMEGA128-16AU SL383

Manufacturer Part Number
ATMEGA128-16AU SL383
Description
Manufacturer
Atmel
Datasheet
X-register, Y-register,
and Z-register
2467S–AVR–07/09
Figure 4. AVR CPU General Purpose Working Registers
Most of the instructions operating on the Register file have direct access to all registers, and
most of them are single cycle instructions.
As shown in
directly into the first 32 locations of the user Data Space. Although not being physically imple-
mented as SRAM locations, this memory organization provides great flexibility in access of the
registers, as the X-, Y-, and Z-pointer Registers can be set to index any register in the file.
The registers R26..R31 have some added functions to their general purpose usage. These reg-
isters are 16-bit address pointers for indirect addressing of the Data Space. The three indirect
address registers X, Y, and Z are described in
Figure 5. The X-, Y-, and Z-registers
In the different addressing modes these address registers have functions as fixed displacement,
automatic increment, and automatic decrement (see the Instruction Set Reference for details).
X - register
Y - register
Z - register
Registers
Purpose
Working
General
Figure
15
7
R27 ($1B)
15
7
R29 ($1D)
15
7
R31 ($1F)
4, each register is also assigned a data memory address, mapping them
7
XH
YH
ZH
R13
R14
R15
R16
R17
R26
R27
R28
R29
R30
R31
R0
R1
R2
0
Figure
0
0
0
7
R26 ($1A)
7
R28 ($1C)
7
R30 ($1E)
5.
Addr.
$0D
$0E
$0F
$1A
$1B
$1C
$1D
$1E
$1F
$00
$01
$02
$10
$11
X-register High Byte
Y-register High Byte
Z-register High Byte
X-register Low Byte
Y-register Low Byte
Z-register Low Byte
XL
YL
ZL
ATmega128
0
0
0
0
0
0
13

Related parts for ATMEGA128-16AU SL383