s908gz60cfa Freescale Semiconductor, Inc, s908gz60cfa Datasheet - Page 313

no-image

s908gz60cfa

Manufacturer Part Number
s908gz60cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
20 000
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
MC68HC908GZ60 • MC68HC908GZ48 • MC68HC908GZ32 Data Sheet, Rev. 6
Table 20-7. READSP (Read Stack Pointer) Command
Figure 20-16. Stack Pointer at Monitor Mode Entry
Table 20-8. RUN (Run User Program) Command
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
ECHO
FROM HOST
READSP
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)
313

Related parts for s908gz60cfa