MC908QT1 FREESCALE [Freescale Semiconductor, Inc], MC908QT1 Datasheet - Page 147

no-image

MC908QT1

Manufacturer Part Number
MC908QT1
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC908QT1ACDWE
Manufacturer:
FREESCALE-PBF
Quantity:
1 506
Part Number:
MC908QT1ACPE
Manufacturer:
IDT
Quantity:
55
Part Number:
MC908QT1AMDWE
Manufacturer:
Freescale Semiconductor
Quantity:
135
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.
Freescale Semiconductor
Data Returned
Data Returned
Description
Description
Operand
Operand
Opcode
Opcode
Table 15-7. READSP (Read Stack Pointer) Command
Figure 15-17. Stack Pointer at Monitor Mode Entry
Table 15-8. RUN (Run User Program) Command
ECHO
FROM HOST
Reads stack pointer
None
Returns incremented stack pointer value (SP + 1) in
high-byte:low-byte order
$0C
Executes PULH and RTI instructions
None
None
$28
READSP
MC68HC908QY/QT Family Data Sheet, Rev. 5
HIGH BYTE OF PROGRAM COUNTER
LOW BYTE OF PROGRAM COUNTER
HIGH BYTE OF INDEX REGISTER
READSP
LOW BYTE OF INDEX REGISTER
CONDITION CODE REGISTER
ECHO
FROM HOST
Command Sequence
Command Sequence
RUN
ACCUMULATOR
RUN
HIGH
SP
SP
SP + 1
SP + 2
SP + 3
SP + 4
SP + 5
SP + 6
SP + 7
LOW
SP
RETURN
Monitor Module (MON)
147

Related parts for MC908QT1