User’s Manual
C166S V1 SubSystem
Memory Organization
User’s Manual
4-11
V 1.6, 2001-08
the current DPP register contents). Additionally, each bit in the currently active register
bank can be accessed individually.
The C166S supports register bank (context) switching. Multiple memory-mapped
register banks can physically exist within the DPRAM at the same time. Only the register
bank selected by the CP register is active at a given time, however. Selecting a new
active register bank is simply done by updating the CP register.
Figure 4-4
Mapping of General-Purpose Registers to DPRAM Addresses
A particular Switch ConteXT (SCXT) instruction performs register bank switching and
automatic saving of the previous context. The number of implemented register banks
(arbitrary sizes) is limited only by the size of the available DPRAM.
DPRAM Address
Byte Registers
Word Register
<CP> + 1E
H
---
R15
<CP> + 1C
H
---
R14
<CP> + 1A
H
---
R13
<CP> + 18
H
---
R12
<CP> + 16
H
---
R11
<CP> + 14
H
---
R10
<CP> + 12
H
---
R9
<CP> + 10
H
---
R8
<CP> + 0E
H
RH7 RL7
R7
<CP> + 0C
H
RH6 RL6
R6
<CP> + 0A
H
RH5 RL5
R5
<CP> + 08
H
RH4 RL4
R4
<CP> + 06
H
RH3 RL3
R3
<CP> + 04
H
RH2 RL2
R2
<CP> + 02
H
RH1 RL1
R1
<CP> + 00
H
RH0 RL0
R0
Содержание C166S V1 SubSystem
Страница 10: ...User s Manual C166S V1 SubSystem User s Manual I 6 V 1 6 2001 08...
Страница 16: ...User s Manual C166S V1 SubSystem Introduction User s Manual 1 6 V 1 6 2001 08...
Страница 126: ...User s Manual C166S V1 SubSystem Central Processing Unit User s Manual 3 96 V 1 6 2001 08...
Страница 178: ...User s Manual C166S V1 SubSystem Memory Organization User s Manual 4 52 V 1 6 2001 08...
Страница 206: ...User s Manual C166S V1 SubSystem Instruction Set User s Manual 5 28 V 1 6 2001 08...
Страница 306: ...User s Manual C166S V1 SubSystem Detailed Instruction Set User s Manual 6 100 V 1 6 2001 08...
Страница 362: ...User s Manual C166S V1 SubSystem The External Bus Interface User s Manual 8 40 V 1 6 2001 08...
Страница 452: ...User s Manual C166S V1 SubSystem General Purpose Timer Unit User s Manual 12 44 V 1 6 2001 08...
Страница 454: ...User s Manual C166S V1 SubSystem Instruction Index User s Manual 13 2 V 1 6 2001 08...
Страница 459: ......