Datasheet

1996 Microchip Technology Inc.
Preliminary
DS40122B-page 13
PIC14000
4.0 MEMORY ORGANIZATION
4.1 Pr
ogram 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>
Stack Level 1
Stack Level 8
Reset Vector
Interrupt Vector
Program Memory & Calibration Space
CALL, RETURN,
RETFIE, RETLW
13
0000h
0004h
0005h
0FFFh
1000h
20FFh
07FFh
(4096 words)
On-chip Program
Memory (Page 0)
0800h
On-chip Program
Memory (Page 1)
Calibration Space
(64 words)
0FC0h
0FBFh
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*
*
Refer to AN621 for details.
** Microchip modified IEEE754 32-bit floating point format.
Refer to application note AN575 for details.
Address Parameter Symbol Units Format
0FC0h-0FC3h
Slope
reference
ratio
K
REF
N/A
32-bit
floating
point
**
0FC4h-0FC7h
Bandgap
reference
voltage
K
BG
Volts
32-bit
floating
point
0FC8h-0FCBh
Tempera-
ture sensor
voltage
V
THERM
Volts
32-bit
floating
point
0FCCh-0FCFh
Tempera-
ture sensor
coefficient
K
TC
Volts/
degree
Celsius
32-bit
floating
point
0FD0h
Internal
oscillator
frequency
multiplier
F
OSC
N/A byte
0FD2h
WDT
time-out
T
WDT
ms byte
This document was created with FrameMaker404