Техническая Спецификация для Freescale Semiconductor Tower System Eval Kit for MC9S12GN32 TWR-S12GN32-KIT TWR-S12GN32-KIT

Модели
TWR-S12GN32-KIT
Скачать
Страница из 1292
S12G Memory Map Controller (S12GMMCV1)
MC9S12G Family Reference Manual,
Rev.1.23
272
Freescale Semiconductor
Figure 5-6. DIRECT Address Mapping
Example 5-1. This example demonstrates usage of the Direct Addressing Mode
MOVB
#$04,DIRECT
;Set DIRECT register to 0x04. From this point on, all memory
;accesses using direct addressing mode will be in the local
;address range from 0x0400 to 0x04FF.
LDY
<$12
;Load the Y index register from 0x0412 (direct access).
5.3.2.3
MMC Control Register (MMCCTL1)
Read: Anytime.
Write: Anytime.
The NVMRES bit maps 16k of internal NVM resources (see Section FTMRG) to the global address space
0x04000 to 0x07FFF.
Table 5-5. DIRECT Field Descriptions
Field
Description
7–0
DP[15:8]
Direct Page Index Bits 15–8 — These bits are used by the CPU when performing accesses using the direct
addressing mode. These register bits form bits [15:8] of the local address (see
Address: 0x0013
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
0
NVMRES
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 5-7. MMC Control Register (MMCCTL1)
Table 5-6. MODE Field Descriptions
Field
Description
0
NVMRES
Map internal NVM resources into the global memory map
Write: Anytime
This bit maps internal NVM resources into the global address space.
0 Program flash is mapped to the global address range from 0x04000 to 0x07FFF.
1 NVM resources are mapped to the global address range from 0x04000 to 0x07FFF.
Bit15
Bit0
Bit7
CPU Address [15:0]
Bit8
DP [15:8]