English
Language : 

RFPIC12C509AG Datasheet, PDF (17/104 Pages) Microchip Technology – 18/20-Pin 8-Bit CMOS Microcontroller with UHF ASK/FSK Transmitter
rfPIC12C509AG/509AF
4.0 MEMORY ORGANIZATION
rfPIC12C509AG/509AF memory is organized into pro-
gram memory and data memory. For devices with more
than 512 bytes of program memory, a paging scheme
is used. Program memory pages are accessed using
one STATUS register bit. For the rfPIC12C509AG/
509AF, with a data memory register file of more than 32
registers, a banking scheme is used. Data memory
banks are accessed using the File Select Register
(FSR).
4.1 Program Memory Organization
The rfPIC12C509AG/509AF devices have a 12-bit Pro-
gram Counter (PC) capable of addressing a 2K x 12
program memory space.
Only the first 1K x 12 (0000h-03FFh) for the
rfPIC12C509AG/509AF is physically implemented.
Refer to Figure 4-1. Accessing a location above these
boundaries will cause a wrap-around within the first 1K
x 12 space. The effective RESET vector is at 000h,
(see Figure 4-1). Location 03FFh contains the internal
clock oscillator calibration value. This value should
never be overwritten.
FIGURE 4-1: PROGRAM MEMORY MAP AND
STACK
PC<11:0>
CALL, RETLW
12
Stack Level 1
Stack Level 2
RESET Vector (note 1) 0000h
On-chip Program
Memory
512 Word
On-chip Program
Memory
1024 Word
01FFh
0200h
03FFh
0400h
7FFh
Note 1: Address 0000h becomes the
effective RESET vector. Location
03FFh contains the MOVLW XX
INTERNAL RC oscillator calibra-
tion value.
© 2001 Microchip Technology Inc.
Preliminary
DS70031A-page 15