![Infineon Technologies XC2200 User Manual Download Page 177](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439177.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Central Processing Unit (CPU)
User’s Manual
4-39
V2.1, 2008-08
CPUSV2_X, V2.2
4.7
Data Addressing
The Address Data Unit (ADU) contains two independent arithmetic units to generate,
calculate, and update addresses for data accesses, the Standard Address Generation
Unit (SAGU) and the DSP Address Generation Unit (DAGU). The ADU performs the
following major tasks:
•
Standard Address Generation (SAGU)
•
DSP Address Generation (DAGU)
•
Data Paging (SAGU)
•
Stack Handling (SAGU)
The SAGU supports linear arithmetic for the indirect addressing modes and also
generates the address in case of all other short and long addressing modes.
The DAGU contains an additional set of address pointers and offset registers which are
used in conjunction with the CoXXX instructions only.
The CPU provides a lot of powerful addressing modes (short, long, indirect) for word,
byte, and bit data accesses. The different addressing modes use different formats and
have different scopes.
4.7.1
Short Addressing Modes
Short addressing modes allow access to the GPR, SFR or bit-addressable memory
space. All of these addressing modes use an offset (8/4/2 bits) together with an implicit
base address to specify a 24-bit physical address:
Table 4-17
Short Addressing Modes
Mnemo-
nic
Base
Address
1)
1) Accesses to general purpose registers (GPRs) may also access local register banks, instead of using CP.
Offset
Short Address
Range
Scope of Access
Rw
(CP)
2
×
Rw
0 … 15
GPRs (word)
Rb
(CP)
1
×
Rb
0 … 15
GPRs (byte)
reg
00’FE00
H
00’F000
H
(CP)
(CP)
2
×
reg
2
×
reg
2
×
(reg
∧
0F
H
)
1
×
(reg
∧
0F
H
)
00
H
… EF
H
00
H
… EF
H
F0
H
… FF
H
F0
H
… FF
H
SFRs (word, low byte)
ESFRs (word, low byte)
GPRs (word)
GPRs (bytes)
bitoff
00’FD00
H
00’FF00
H
00’F100
H
(CP)
2
×
bitoff
2
×
(bitoff
∧
7F
H
)
2
×
(bitoff
∧
7F
H
)
2
×
(bitoff
∧
0F
H
)
00
H
… 7F
H
80
H
… EF
H
80
H
… EF
H
F0
H
… FF
H
RAM Bit word offset
SFR Bit word offset
ESFR Bit word offset
GPR Bit word offset
bitaddr
Bit word
see bitoff
Immediate bit
position
0 … 15
Any single bit