4.0 MEMORY ORGANIZATION
4.1 Program Memory Organization
The PIC14000 has a 13-bit program counter capable of
addressing an 8K x 14 program memory space. Only
the first 4K x 14 (0000-0FFFh) are physically imple-
mented. Accessing a location above the physically
implemented address will cause a wraparound. The
reset vector is at 0000h and the interrupt vector is at
0004h (Figure 4-1).
The 4096 words of Program Memory space are divided
into:
• Address Vectors (addr 0000h-0004h)
• Program Memory Page 0 (addr 0005h-07FFH)
• Program Memory Page 1 (addr 0800h-0FBFh)
• Calibration Space (64 words, addr 0FC0h-0FFFh)
Program code may reside in Page 0 and Page 1.
FIGURE 4-1: PIC14000 PROGRAM
MEMORY MAP AND STACK
PC<12:0>
13
CALL, RETURN,
RETFIE, RETLW
Stack Level 1
••
Stack Level 8
Reset Vector
•
•
•
Interrupt Vector
On-chip Program
Memory (Page 0)
On-chip Program
Memory (Page 1)
Calibration Space
(64 words)
0000h
0004h
0005h
07FFh
0800h
0FBFh
0FC0h
0FFFh
1000h
PIC14000
4.1.1 CALIBRATION SPACE
The calibration space is not used for instructions. This
section stores constants and factors for the arithmetic
calculations to calibrate the analog measurements.
TABLE 4-1: CALIBRATION DATA
OVERVIEW*
Address Parameter Symbol Units Format
Slope
0FC0h-0FC3h reference
ratio
KREF
32-bit
N/A floating
point**
Bandgap
0FC4h-0FC7h reference
voltage
32-bit
KBG
Volts floating
point
Tempera-
0FC8h-0FCBh ture sensor
voltage
VTHERM
Volts
32-bit
floating
point
Tempera-
0FCCh-0FCFh ture sensor
coefficient
Volts/ 32-bit
KTC degree floating
Celsius point
0FD0h
Internal
oscillator
frequency
FOSC
N/A
byte
multiplier
0FD2h
WDT
time-out
TWDT
ms
byte
* Refer to AN621 for details.
** Microchip modified IEEE754 32-bit floating point format.
Refer to application note AN575 for details.
20FFh
© 1996 Microchip Technology Inc.
Preliminary
This document was created with FrameMaker 4 0 4
DS40122B-page 13