xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
UM10
346_
1
©
NXP
B.V
. 2009.
Al
l r
ig
h
ts
r
e
s
e
rv
ed.
User m
a
nu
al
Rev
. 0
1
— 2 No
vemb
e
r 2009
20 of
132
N
X
P Semi
conductor
s
UM10346
L
P
C9
80
/9
82
U
s
e
r ma
nu
a
l
1.6 Memory organization
The various P89LPC980/982 memory spaces are as follows:
DATA —
128 bytes of internal data memory space (00h:7Fh) accessed via direct or indirect addressing, using instruction
other than MOVX and MOVC. All or part of the Stack may be in this area.
IDATA —
Indirect Data. 256 bytes of internal data memory space (00h:FFh) accessed via indirect addressing using
instructions other than MOVX and MOVC. All or part of the Stack may be in this area. This area includes the DATA area and
the 128 bytes immediately above it.
SFR —
Special Function Registers. Selected CPU registers and peripheral control and status registers, accessible only via
direct addressing.
(1) ISP code is located at the end of sector 3 on the P89LPC980 and at the endof sector 7 on P89LPC982.
Fig 5.
P89LPC980/982 memory map
002aae986
0000h
03FFh
0400h
07FFh
0800h
0BFFh
0C00h
0FFFh
SECTOR 0
SECTOR 1
SECTOR 2
SECTOR 3
1000h
13FFh
1400h
17FFh
1800h
1BFFh
1C00h
1E00h
1FFFh
SECTOR 4
SECTOR 5
SECTOR 6
FFEFh
FF00h
IAP entry-
points
SECTOR 7
ISP CODE
(512B)
(1)
SPECIAL FUNCTION
REGISTERS
(DIRECTLY ADDRESSABLE)
128 BYTES ON-CHIP
DATA MEMORY (STACK,
DIRECT AND INDIR. ADDR.)
4 REG. BANKS R[7:0]
data memory
(DATA, IDATA)
DATA
128 BYTES ON-CHIP
DATA MEMORY (STACK
AND INDIR. ADDR.)
IDATA
(incl. DATA)
FFEFh
FFh
80h
7Fh
00h
FF1Fh
FF00h
entry points for:
-51 ASM. code
-C code
IDATA routines
1FFFh
1E00h
entry points for:
-UART (auto-baud)
-I2C, SPI, etc.
(1)
ISP serial loader
entry
points
read-protected
IAP calls only
EXTENDED SFRs
FFFFh
FFB0h
RESERVED
00FFh
XDATA
(256 BYTES)
(P89LPC982)
0000h