English
Language : 

MC68HC08AZ60 Datasheet, PDF (97/452 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
System Integration Module (SIM)
Program Exception Control
CLI
LDA #$FF
BACKGROUND
ROUTINE
INT1
PSHH
PULH
RTI
INT1 INTERRUPT SERVICE ROUTINE
INT2
PSHH
PULH
RTI
INT2 INTERRUPT SERVICE ROUTINE
Figure 11. Interrupt Recognition Example
SWI Instruction
The SWI instruction is a non-maskable instruction that causes an
interrupt regardless of the state of the interrupt mask (I bit) in the
condition code register.
NOTE: A software interrupt pushes PC onto the stack. A software interrupt does
not push PC – 1, as a hardware interrupt does.
Reset
All reset sources always have higher priority than interrupts and cannot
be arbitrated.
Break Interrupts
The break module can stop normal program flow at a
software-programmable break point by asserting its break interrupt
output. See Break Module on page 135. The SIM puts the CPU into the
break state by forcing it to the SWI vector location. Refer to the break
interrupt subsection of each module to see how each module is affected
by the break state.
15-sim
MOTOROLA
MC68HC08AZ60 — Rev 1.0
System Integration Module (SIM)
97
For More Information On This Product,
Go to: www.freescale.com