dsPIC30F6011/6012/6013/6014
FIGURE 3-6:
DATA SPACE WINDOW INTO PROGRAM SPACE OPERATION
Program Space
Data Space
0x0000
15
PSVPAG
(1)
0x21
8
EA<15> =
0
Data 16
Space
15
EA
EA<15> =
1
0x8000
15
Address
Concatenation 23
23
15
0
0x108000
0x108200
Upper Half of Data
Space is Mapped
into Program Space
0xFFFF
0x10FFFF
BSET
MOV
MOV
MOV
CORCON,#2
#0x21, W0
W0, PSVPAG
0x8200, W0
; PSV bit set
; Set PSVPAG register
; Access program memory location
; using a data space access
Data Read
Note:
PSVPAG is an 8-bit register, containing bits <22:15> of the program space address (i.e., it defines
the page in program space to which the upper half of data space is being mapped).
DS70117C-page 28
Preliminary
铮?/div>
2004 Microchip Technology Inc.
prev
next