English
Language : 

MC68HC08AS32 Datasheet, PDF (135/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
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 9-10. Interrupt Recognition Example
9.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.
MC68HC08AS32 — Rev. 3.0
MOTOROLA
System Integration Module (SIM)
Advance Information
135