English
Language : 

MC68HC08AS20 Datasheet, PDF (131/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
CLI
LDA #$FF
INT1
PSHH
PULH
RTI
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 nonmaskable 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.
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
131