Intel Microcontroller Microscope & Magnifier User Manual


 
5-15
MEMORY PARTITIONS
WSR1
(80C196NU)
Address:
Reset State:
0015H
00H
Window selection 1 (WSR1) register selects a 32- or 64-byte segment of the upper register file or
peripheral SFRs to be windowed into the middle of the lower register file, below any window selected
by the WSR.
7 0
80C196NU
W6 W5 W4 W3 W2 W1 W0
Bit
Number
Bit
Mnemonic
Function
7 Reserved; always write as zero.
6:0 W6:0 Window Selection
These bits specify the window size and window number. See Table 5-8 on
page 5-15 or Table 5-9 on page 5-15.
Figure 5-6. Window Selection 1 (WSR1) Register
Table 5-8. Selecting a Window of Peripheral SFRs
Peripheral
WSR or WSR1 Value
for 32-byte Window
(00E0–00FFH or 0060–007FH)
WSR or WSR1 Value
for 64-byte Window
(00C0–00FFH or 0040–007FH)
WSR Value for
128-byte Window
(0080–00FFH)
EPORT
7FH
3FH
1FH
Ports 1–4 7EH
PWM and SIO 7DH
3EHEPA and Timers 7CH
Chip selects 4–5 7BH
3DH 1EHChip selects 0–3 7AH
For the 8XC196NP, the EPORT SFRs are memory-mapped SFRs. They must be accessed with
indirect, indexed, or extended addressing; they cannot be windowed.
Table 5-9. Selecting a Window of the Upper Register File
Register RAM
Locations
(Hex)
WSR or WSR1 Value
for 32-byte Window
(00E0–00FFH or 0060–007FH)
WSR or WSR1 Value
for 64-byte Window
(00C0–00FFH or 0040–007FH)
WSR Value
for 128-byte Window
(0080–00FFH)
03E0–03FF 5FH
2FH
17H
03C0–03DF 5EH
03A0–03BF 5DH
2EH0380–039F 5CH