MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 167

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Monitor ROM (MON)
Technical Data
168
The MCU executes the SWI and PSHH instructions when it enters
monitor mode. The RUN command tells the MCU to execute the PULH
and RTI instructions. Before sending the RUN command, the host can
modify the stacked CPU registers to prepare to run the host program.
The READSP command returns the incremented stack pointer value,
SP + 1. The high and low bytes of the program counter are at addresses
SP + 5 and SP + 6.
Description
Returned
Operand
Opcode
Data
Figure 10-7. Stack Pointer at Monitor Mode Entry
Table 10-9. RUN (Run User Program) Command
Executes PULH and RTI instructions
None
None
$28
Monitor ROM (MON)
HIGH BYTE OF PROGRAM COUNTER
LOW BYTE OF PROGRAM COUNTER
HIGH BYTE OF INDEX REGISTER
LOW BYTE OF INDEX REGISTER
CONDITION CODE REGISTER
ECHO
FROM
HOST
Command Sequence
RUN
ACCUMULATOR
RUN
MC68HC908LJ12
SP
SP + 1
SP + 2
SP + 3
SP + 4
SP + 5
SP + 6
SP + 7
Freescale Semiconductor
Rev. 2.1

Related parts for MC68HC908LJ12CPB