English
Language : 

MC68HC908AZ60 Datasheet, PDF (121/480 Pages) Motorola, Inc – HCMOS Microcontroller Unit
CLI
LDA #$FF
INT1
PSHH
PULH
RTI
System Integration Module (SIM)
Program Exception Control
BACKGROUND
ROUTINE
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 161. 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
System Integration Module (SIM)
MC68HC908AZ60 — Rev 2.0
119