
6
P/N:PM0762
REV. 1.0, MAY. 22, 2003
MX10F202FC
Specifications subject to change without notice, contact your sales representatives for the most update information.
Table. 2 Internal data memory access
LOCATION
ADDRESSED
RAM 0 to 127
DIRECT and INDIRECT
RAM 128 to 255
INDIRECT only
AUX-RAM 0 to 255
INDIRECT only with MOVX
Special Function Register (SFR) 128 to 255
DIRECT only
Fig. 4 shows the internal memory address space. Table 3 shows the Special Function Register (SFR) memory
map. Location 0 to 31 at the lower RAM area can be devided into four 8-bit register banks. Only one of these
banks may be enabled at a time. The next 16 bytes, locations 32 through 47, contain 128 directly addressable bit
locations.
The stack can be located anywhere in the internal 256 byte RAM. The stack depth is only limited by the available
internal RAM space of 256 bytes. All registers except the Program Counter and the four 8-byte register banks
reside in the SFR address space.
- Register
- Direct
- Register-Indirect
- Immediate
- Base-Register plus Index-Register-Indirect.
The first three methods can be used for addressing destination operands. Most instructions have a 'destination /
source' field that specifies the data type, addressing methods and operands involved. For operations other than
MOVs, the destination operand is also a source operand.
Access to memory addresses is as follows:
- Register in one of the four 8-byte register banks through Direct or Register-Indirect addressing.
- 256 bytes of internal RAM through Direct or Register-Indirect addressing. Bytes 0-127 of internal RAM may be
only be addressed indirectly as data RAM.
- SFR through direct addressing at address location 128-255.
internal
program
memory
16K
0
PROGRAM MEMORY
INDIRECT ONLY
---------------------
DIRECT AND
INDIRECT
MAIN RAM
255
127
0
SFRs
Direct only
SFRs
AUXILIARY
RAM
through
MOVX access
AUX-RAM
OVERLAPPED SPACE with different access schemes
Fig. 4 Internal program and data memory address space
INTERNAL DATA MEMORY