![Micronas SDA 6000 User Manual Download Page 43](http://html1.mh-extra.com/html/micronas/sda-6000/sda-6000_user-manual_1787802043.webp)
SDA 6000
PRELIMINARY DATA SHEET
Version 2.1
C16X Microcontroller
4 - 12
Micronas
4.3.2
General Purpose Registers
The General Purpose Registers (GPRs) use a block of 16 consecutive words within the
IRAM. The Context Pointer (CP) register determines the base address of the currently
active register bank. This register bank may consist of up to 16 word GPRs (R0, R1, …,
R15) and/or of up to 16 byte GPRs (RL0, RH0, …, RL7, RH7). The sixteen byte GPRs
are mapped onto the first eight word GPRs (see
Table 4-1
).
In contrast to the system stack, a register bank grows from lower towards higher address
locations and occupies a maximum space of 32 Byte. The GPRs are accessed via short
2-, 4- or 8-bit addressing modes using the Context Pointer (CP) register as a base
address (independent of the current DPP register contents). In addition, each bit in the
currently active register bank can be accessed individually.
M2 supports fast register bank (context) switching. Multiple register banks can physically
exist within the IRAM at the same time. However, only the register bank selected by the
Context Pointer register (CP) is active at a given time. Selecting a new active register
bank is simply done by updating the CP register. A particular Switch Context (SCXT)
instruction performs register bank switching and automatically saves the previous
Table 4-1
Mapping of General Purpose Registers to RAM Addresses
Internal RAM
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
Summary of Contents for SDA 6000
Page 3: ...Contents Overview...
Page 21: ...Pin Description...
Page 22: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Pin Descriptions 2 3 Micronas 2 Pin Descriptions...
Page 29: ...Architectural Overview...
Page 33: ...C16X Microcontroller...
Page 88: ...Interrupt and Trap Function...
Page 122: ...System Control Configuration...
Page 159: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 System Control Configuration 6 40 Micronas...
Page 160: ...Peripherals...
Page 282: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Peripherals 7 124 Micronas...
Page 283: ...Clock System...
Page 284: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 3 Micronas 8 Clock System...
Page 288: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 8 Micronas...
Page 289: ...Sync System...
Page 290: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Sync System 9 3 Micronas 9 Sync System...
Page 301: ...Display Generator...
Page 348: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Display Generator 10 50 Micronas...
Page 349: ...D A Converter...
Page 352: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 D A Converter 11 6 Micronas...
Page 353: ...Slicer and Acquisition...
Page 381: ...Register Overview...
Page 398: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Register Overview 13 20 Micronas...
Page 399: ...Elelctrical Characteristics...
Page 411: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Electrical Characteristics 14 14 Micronas...