CMT2380F17
Rev0.1 | 52/347
Bank 0
Lower 128 Bytes of
internal SRAM
Bank 1
Bank 2
Bank 3
Bit Addressable
00H
08H
10H
18H
20H
07H
0FH
17H
1FH
2FH
7FH
30H
Reset value of
Stack Pointer
Four banks of 8
registers R0~R7
Figure 6-3. Lower 128 Bytes of Internal RAM
Port 080H
Port 190H
Port 2A0H
Port 3B0H
PSWD0H
ACCE0H
FFH
1. I/O ports are register mapping
2. Addresses that end in 0H or
8H are also bit-addressable
- I/O ports
- PSW
- Accumulator
(etc.)
Figure 6-4. SFR Space
6.3 On-chip Expanded RAM (XRAM)
To access the on-chip expanded RAM (XRAM), refer to Figure 6–2, the 768 bytes of XRAM (0000H to
02FFH) are indirectly accessed by move external instruction, “MOVX @Ri” and “MOVX @DPTR”. For C51
compiler, to assign the variables to be located at XRAM, the “pdata” or “xdata” definition should be used. After
being compiled, the variables declared by “pdata” and “xdata” will become the memories accessed by “MOVX
@Ri” and “MOVX @DPTR”, respectively. Thus the CMT2380F17hardware can access them correctly.
6.4 Off-Chip External Data Memory access
The off-chip external data memory access function is not supported in CMT2380F17.
6.5 Declaration Identifiers in a C51-Compiler
The declaration identifiers in a C51-compiler for the various CMT2380F17memory spaces are as follows:
data
128 bytes of internal data memory space (00h~7Fh); accessed via direct or indirect addressing, using