SC9S12XS256J1MAA FREESCALE [Freescale Semiconductor, Inc], SC9S12XS256J1MAA Datasheet - Page 132

no-image

SC9S12XS256J1MAA

Manufacturer Part Number
SC9S12XS256J1MAA
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Memory Mapping Control (S12XMMCV4)
3.3.2.3
Read: Anytime
Write: anytime in special modes, one time only in other modes.
This register determines the position of the 256B direct page within the memory map.It is valid for both
global and local mapping scheme.
Bits [22:16] of the global address will be formed by the GPAGE[6:0] bits in case the CPU executes a global
instruction in direct addressing mode or by the appropriate local address to the global address expansion
(refer to
132
Address: 0x0011
DP[15:8]
Reset
Field
7–0
W
R
Section 3.4.2.1.1, “Expansion of the Local Address
MOVB
LDY
DP15
Direct Page Index Bits 15–8 — These bits are used by the CPU when performing accesses using the direct
addressing mode. The bits from this register form bits [15:8] of the address (see
Direct Page Register (DIRECT)
Example 3-2. This example demonstrates usage of the Direct Addressing Mode
0
7
Bit22
#0x80,DIRECT
<00
DP14
0
6
S12XS Family Reference Manual, Rev. 1.09
Figure 3-9. DIRECT Address Mapping
Table 3-5. DIRECT Field Descriptions
Figure 3-8. Direct Register (DIRECT)
Bit16
DP13
Global Address [22:0]
0
5
;Set DIRECT register to 0x80. Write once only.
;Global data accesses to the range 0xXX_80XX can be direct.
;Logical data accesses to the range 0x80XX are direct.
;Load the Y index register from 0x8000 (direct access).
;< operator forces direct access on some assemblers but in
;many cases assemblers are “direct page aware” and can
;automatically select direct mode.
Bit15
DP12
DP [15:8]
0
4
Description
CPU Address [15:0]
Bit8
DP11
Map).
0
3
Bit7
DP10
0
2
Figure
Freescale Semiconductor
Bit0
DP9
3-9).
0
1
DP8
0
0

Related parts for SC9S12XS256J1MAA