Addressing A Location Through A Window - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

Table 4-9. Selecting a Window of the Upper Register File (Continued)
Register RAM
for 32-byte Window
Locations
0160–017FH
0140–015FH
0120–013FH
0100–011FH
Table 4-10. Selecting a Window of Upper Register RAM — 8XC196JV Only
Register RAM
for 32-byte Window
Locations
0DE0–0DFFH
0DC0–0DDFH
0DA0–0DBFH
0D80–0D9FH
0D60–0D7FH
0D40–0D5FH
0D20–0D3FH
0D00–0D1FH
0CE0–0CFFH
0CC0–0CDFH
0CA0–0CBFH
0C80–0C9FH
0C60–0C7FH
0C40–0C5FH
0C20–0C3FH
0C00–0C1FH
4.2.2

Addressing a Location Through a Window

After you have selected the desired window, you need to know the windowed direct address of
the memory location (the address in the lower register file). Calculate the windowed direct ad-
dress as follows:
1.
Subtract the base address of the area to be remapped (from Table 4-11 on page 4-18) from
the address of the desired location. This gives you the offset of that particular location.
2.
Add the offset to the base address of the window (from Table 4-12 on page 4-20). The
result is the windowed direct address.
WSR Value
(00E0–00FFH)
4BH
4AH
49H
48H
WSR Value
(00E0–00FFH)
6FH
6EH
6DH
6CH
6BH
6AH
69H
68H
67H
66H
65H
64H
63H
62H
61H
60H
MEMORY PARTITIONS
WSR Value
for 64-byte Window
(00C0–00FFH)
25H
24H
WSR Value
for 64-byte Window
(00C0–00FFH)
37H
36H
35H
34H
33H
32H
31H
30H
WSR Value
for 128-byte Window
(0080–00FFH)
12H
WSR Value
for 128-byte Window
(0080–00FFH)
1BH
1AH
19H
18H
4-17

Advertisement

Table of Contents
loading

Table of Contents