English
Language : 

MC9S08SH32CWL Datasheet, PDF (101/328 Pages) Freescale Semiconductor, Inc – MC9S08SH32 Series Features
Chapter 7 Central Processor Unit (S08CPUV3)
7.4.5 BGND Instruction
The BGND instruction is new to the HCS08 compared to the M68HC08. BGND would not be used in
normal user programs because it forces the CPU to stop processing user instructions and enter the active
background mode. The only way to resume execution of the user program is through reset or by a host
debug system issuing a GO, TRACE1, or TAGGO serial command through the background debug
interface.
Software-based breakpoints can be set by replacing an opcode at the desired breakpoint address with the
BGND opcode. When the program reaches this breakpoint address, the CPU is forced to active background
mode rather than continuing the user program.
MC9S08SH32 Series Data Sheet, Rev. 2
Freescale Semiconductor
101
PRELIMINARY