|
MC68HC08JK1 Datasheet, PDF (79/198 Pages) Motorola, Inc – HCMOS Microcontroller Unit | |||
|
◁ |
Freescale Semiconductor, Inc.
System Integration Module (SIM)
Exception Control
7.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.
7.6.2 Interrupt Status Registers
The flags in the interrupt status registers identify maskable interrupt
sources. Table 7-3 summarizes the interrupt sources and the interrupt
status register flags that they set. The interrupt status registers can be
useful for debugging.
Table 7-3. Interrupt Sources
Priority
Highest
Lowest
Source
Flag
Mask1
INT
Register
Flag
Vector Address
Reset
â
â
â
$FFFEâ$FFFF
SWI Instruction
â
â
â
$FFFCâ$FFFD
IRQ1 Pin
IRQF1 IMASK1
IF1
$FFFAâ$FFFB
Timer Channel 0 Interrupt
CH0F
CH0IE
IF3
$FFF6â$FFF7
Timer Channel 1 Interrupt
CH1F
CH1IE
IF4
$FFF4â$FFF5
Timer Overï¬ow Interrupt
TOF
TOIE
IF5
$FFF2â$FFF3
Keyboard Interrupt
KEYF IMASKK
IF14
$FFE0â$FFE1
ADC Conversion Complete Interrupt
COCO
AIEN
IF15
$FFDEâ$FFDF
Note:
1. The I bit in the condition code register is a global mask for all interrupts sources except the SWI
instruction.
MC68H(R)C08JL3 â Rev. 4
MOTOROLA
System Integration Module (SIM)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
79
|
▷ |