English
Language : 

MC68HC908RK2 Datasheet, PDF (93/232 Pages) Motorola, Inc – 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 6-11. Interrupt Recognition Example
6.6.1.2 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.
6.6.2 Reset
All reset sources always have higher priority than interrupts and cannot
be arbitrated.
6.6.3 Break Interrupts
The break module can stop normal program flow at a software-
programmable break point by asserting its break interrupt output. (See
Section 7. Break Module (BRK).) The SIM puts the CPU into the break
state by forcing it to the SWI vector location. Refer to the break interrupt
MC68HC908RK2 — Rev. 4.0
MOTOROLA
System Integration Module (SIM)
Advance Information
93