User Manual
C166S V2
Central Processing Unit
User Manual
2-53
V 1.7, 2001-01
2.5.2.4
Indirect Addressing Modes
These addressing modes can be considered as a combination of short and long
addressing modes. This means that long 16-bit address is provided indirectly by the
contents of a word GPR which is specified directly by a short 4-bit address (’Rw’=0 to
15). There are indirect addressing modes, which add a constant value to the GPR
contents before the long 16-bit address is calculated. Other indirect addressing modes
can decrement or increment the indirect address pointers (GPR contents) by 2 or 1
(referring to words or bytes) or by the contents of the offset registers QR0 and QR1.
The Offset Register QR0 and QR1
There are two non-bit addressable offset registers QR0 and QR1 which can be used in
conjunction with the CoXXX instructions.
Note: During initialization of the QR registers, instruction flow stalls are possible. For the
proper operation refer to
.
In each case, one of the four DPP registers is used to specify physical 24-bit addresses.
Any word or byte data within the entire memory space can be addressed indirectly.
Note: The indirect addressing may be used with the DPP overriding mechanism
(EXTP(R) and EXTS(R)).
QR0
Offset Register
ESFR
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
QR
0
rw
r
QR1
Offset Register
ESFR
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
QR
0
rw
r
Field
Bits
Type Description
QR
[15:1]
rw
Modifiable portion of register QRx
Specifies the 16-bit offset address for indirect
addressing modes.
0
[0]
r
Fixed to 0
Summary of Contents for C166S V2
Page 102: ...User Manual C166S V2 C166S V2 Memory Organization User Manual 3 102 V 1 7 2001 01...
Page 116: ...User Manual C166S V2 Instruction Pipeline User Manual 4 116 V 1 7 2001 01...
Page 152: ...User Manual C166S V2 Interrupt and Exception Handling User Manual 5 152 V 1 7 2001 01...
Page 204: ...User Manual C166S V2 Instruction Set User Manual 7 204 V 1 7 2001 01...
Page 420: ...User Manual C166S V2 Detailed Instruction Description User Manual 8 420 V 1 7 2001 01...
Page 432: ...User Manual C166S V2 Summary of CPU Subsystem Registers User Manual 9 432 V 1 7 2001 01...
Page 437: ...437...