mc9s12c32mpb16 Freescale Semiconductor, Inc, mc9s12c32mpb16 Datasheet - Page 126

no-image

mc9s12c32mpb16

Manufacturer Part Number
mc9s12c32mpb16
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 3 Module Mapping Control (MMCV4) Block Description
During the execution of an RTC instruction, the CPU:
This sequence is uninterruptable; an RTC can be executed from anywhere in memory, even from a different
page of extended memory in the expansion window.
The CALL and RTC instructions behave like JSR and RTS, except they use more execution cycles.
Therefore, routinely substituting CALL/RTC for JSR/RTS is not recommended. JSR and RTS can be used
to access subroutines that are on the same page in expanded memory. However, a subroutine in expanded
memory that can be called from other pages must be terminated with an RTC. And the RTC unstacks a
PPAGE value. So any access to the subroutine, even from the same page, must use a CALL instruction so
that the correct PPAGE value is in the stack.
3.4.3.2
If the EMK bit in the MODE register is set (see MEBI block description chapter) the PIX5:0 values will
be output on XAB19:14 respectively (port K bits 5:0) when the system is addressing within the physical
program page window address space (0x8000–0xBFFF) and is in an expanded mode. When addressing
anywhere else within the physical address space (outside of the paging space), the XAB19:14 signals will
be assigned a constant value based upon the physical address space selected. In addition, the active-low
emulation chip select signal, ECS, will likewise function based upon the assigned memory allocation. In
the cases of 48K byte and 64K byte allocated physical FLASH/ROM space, the operation of the ECS
signal will additionally depend upon the state of the ROMHM bit (see
System Control Register
21
this signal information is only available externally when the EMK bit is set and the system is in an
expanded mode.
126
summarize the functionality of these signals based upon the allocated memory configuration. Again,
Pulls the old PPAGE value from the stack
Pulls the 16-bit return address from the stack and loads it into the PC
Writes the old PPAGE value into the PPAGE register
Refills the queue and resumes execution at the return address
Extended Address (XAB19:14) and ECS Signal Functionality
0xC000–0xFFFF
0xC000–0xFFFF
0x0000–0x3FFF
0x4000–0x7FFF
0x8000–0xBFFF
0x0000–0x3FFF
0x4000–0x7FFF
0x8000–0xBFFF
Address Space
Address Space
(MISC)”) in the MISC register.
Table 3-19. 16K Byte Physical FLASH/ROM Allocated
Table 3-18. 0K Byte Physical FLASH/ROM Allocated
MC9S12C-Family / MC9S12GC-Family
Page Window Access
Page Window Access
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Rev 01.23
Table
ROMHM
ROMHM
3-18,
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Table
Section 3.3.2.4, “Miscellaneous
ECS
ECS
1
1
0
0
1
1
1
0
3-19,
XAB19:14
XAB19:14
PIX[5:0]
PIX[5:0]
Table
0x3D
0x3D
0x3E
0x3F
0x3E
0x3F
Freescale Semiconductor
3-20, and
Table 3-

Related parts for mc9s12c32mpb16