MEMORY PARTITIONS

4.1.6Register 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.

Address

02FFH

0100H

00FFH

0000H

Upper

Register File

Lower

Register File

 

 

Address

 

 

02FFH (MH)

General-purpose

 

 

Register RAM

 

 

 

 

0200H

 

 

01FFH (MC, MD)

 

 

0100H

General-purpose

 

00FFH

 

 

Register RAM

 

001AH

 

 

Stack Pointer

 

0019H

 

0018H

 

 

CPU SFRs

 

0017H

 

0000H

 

 

A3066-02

Figure 4-1. Register File Memory Map

4-9

Page 74
Image 74
Intel 8XC196MC, 8XC196MD, 8XC196MH manual Register File Memory Map, Address