8XC196L
X

SUPPLEMENT

3-6
3.4 WINDOWINGWindowing maps a segment of higher memory (the upper register file or peripheral SFRs) intothe lower register file. The window selection register (WSR) selects a 32-, 64- or 128-byte seg-ment of higher memory to be windowed into the top of the lower register file space. Table 3-4lists the WSR values for windowing the upper register file for both the 8XC196Lx and8XC196Kx.

Table 3-4. Windows

Base
Address
WSR Value
for 32-byte Window
(00E0–00FFH)
WSR Value
for 64-byte Window
(00C0–00FFH)
WSR Value for
128-byte
Window
(0080–00FFH)
Peripheral SFRs
1FE0H 7FH (Note)
3FH (Note)
1FH (Note)
1FC0H 7EH
1FA0H 7DH
3EH1F80H 7CH
1F60H 7BH
3DH
1EH
1F40H 7AH
1F20H 79H
3CH1F00H 78H
CAN Peripheral SFRs (87C196CA Only)
1EE0H 77H
3BH
1DH
1EC0H 76H
1EA0H 75H
3AH1E80H 74H
1E60H 73H
39H
1CH
1E40H 72H
1E20H 71H
38H1E00H 70H
Register RAM (87C196JV Only)
1DE0H 6FH
37H
1BH
1DC0H 6EH
1DA0H 6DH
36H1D80H 6CH
1D60H 6BH
35H
1AH
1D40H 6AH
1D20H 69H
34H1D00H 68H
NOTE: Locations 1FE0–1FFFH contain memory-mapped SFRs that cannot be accessed through a
window. Reading these locations through a window returns FFH; writing these locations
through a window has no effect.