AN370
Rev. 1.0
7
Figure 4. DATA/IDATA Reserved Spaces
Note that the region used by the ROM API is split in between the DATA and IDATA to allow the continuous region
of 128 bytes, split evenly in between DATA and IDATA regions. This will allow for a byte array of that size. The bit
addressable region of 16 bytes is not used by the API. All four register banks are shown as available. However, the
user should assume that the API functions destroy all the registers R0 .. R7 of the currently selected bank.
API functions use the register bank currently selected by the user application. The API functions do not access
RB0 directly. User is free to choose any register bank for main application and any register bank for interrupt
service routines.
API
Reserved
(
16B
)
0x20
Registers
RB1 .. RB3
Available
(
24B
)
Bit Addr
Available
(
16B
)
0x2F
0x30
0x3F
DATA/IDATA
MCU Internal RAM
DATA
.. lower 128
RAM bytes, Direct
and Indirect
Addressing
Available
(
64B
)
0x40
0x7F
Available
(
64B
)
0x80
API
Reserved
(
64B
)
0xC0
0xFF
0xBF
0x08
0x1F
Reg RB0
Available
(
8B
)
0x00
0x07
IDATA
..
upper128 RAM
bytes, Indirect
Addressing only
DATA/IDATA
..continuous
128 RAM bytes user
region