English
Language : 

MC68HC08AZ16 Datasheet, PDF (87/527 Pages) Motorola, Inc – HCMOS Microcontroller Unit
System Integration Module (SIM)
CLI
LDA #$FF
BACKGROUND ROUTINE
INT1
PSHH
PULH
RTI
INT1 INTERRUPT SERVICE ROUTINE
INT2
PSHH
PULH
RTI
INT2 INTERRUPT SERVICE ROUTINE
Figure 10. Interrupt recognition example
NOTE:
To maintain compatibility with the M6805 Family, the H register is not
pushed on the stack during interrupt entry. If the interrupt service routine
modifies the H register or uses the indexed addressing mode, software
should save the H register and then restore it prior to exiting the routine.
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 equal and highest priority and cannot be
arbitrated.
MC68HC08AZ32
86
System Integration Module (SIM)
16-sim
MOTOROLA