sc9s12hy64j0vllr Freescale Semiconductor, Inc, sc9s12hy64j0vllr Datasheet - Page 140

no-image

sc9s12hy64j0vllr

Manufacturer Part Number
sc9s12hy64j0vllr
Description
S12 Microcontrollers Mcu 16-bit Hcs12 Cisc 32kb Flash 5v Tray
Manufacturer
Freescale Semiconductor, Inc
Datasheet
S12P Memory Map Control (S12PMMCV1)
3.3.2.3
Read: Anytime
Write: Anytime
These four index bits are used to map 16KB blocks into the Flash page window located in the local (CPU
or BDM) memory map from address 0x8000 to address 0xBFFF (see
up to 256 KB of Flash (in the Global map) within the 64KB Local map. The PPAGE index register is
effectively used to construct paged Flash addresses in the Local map format. The CPU has special access
to read and write this register directly during execution of CALL and RTC instructions.
140
Address: 0x0015
Reset
W
R
MOVB
LDY
Example 3-1. This example demonstrates usage of the Direct Addressing Mode
Program Page Index Register (PPAGE)
0
0
7
Writes to this register using the special access of the CALL and RTC
instructions will be complete before the end of the instruction execution.
#0x80,DIRECT
<00
Bit17
0
0
6
PPAGE Register [3:0]
Figure 3-7. Program Page Index Register (PPAGE)
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Figure 3-8. PPAGE Address Mapping
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.
Global Address [17:0]
Bit14
NOTE
0
0
4
Bit13
Address: CPU Local Address
PIX3
1
3
Address [13:0]
or BDM Local Address
Figure
PIX2
1
2
3-8). This supports accessing
Bit0
Freescale Semiconductor
PIX1
1
1
PIX0
0
0

Related parts for sc9s12hy64j0vllr