4-9
MEMORY PARTITIONS
4.1.6 Register File
The register file (Figure 4-1) is divided into an upper register file and a lower register file. The
upper register file consists of general-purpose register RAM. The lower register file contains gen-
eral-purpose register RAM along with the stack pointer (SP) and the CPU special-function regis-
ters (SFRs).
Table 4-1 on page 4-2 lists the register file memory addresses. The RALU accesses the lower reg-
ister file directly, without the use of the memory controller. It also accesses a windowed location
directly (see “Windowing” on page 4-12). The upper register file and the peripheral SFRs can be
windowed. Registers in the lower register file and registers being windowed can be accessed with
register-direct addressing.
NOTE
The register file must not contain code. An attempt to execute an instruction
from a location in the register file causes the memory controller to fetch the
instruction from external memory.
Figure 4-1. Register File Memory Map
02FFH
0100H
00FFH
0000H
Address
A3066-02
Upper
Register File
Lower
Register File
Stack Pointer
General-purpose
Register RAM
General-purpose
Register RAM
Stack Pointer
General-purpose
Register RAM
02FFH (MH)
0200H
01FFH (MC, MD)
0100H
00FFH
001AH
0019H
0018H
0017H
0000H
Address
CPU SFRs