Interrupt Recognition Example - Motorola MC68HC908GP32 Technical Data Manual

Table of Contents

Advertisement

NOTE:
MC68HC908GP32
MC68HC08GP32
MOTOROLA
Freescale Semiconductor, Inc.
CLI
LDA
INT1
PSHH
PULH
RTI
INT2
PSHH
PULH
RTI
Figure 4-5
The LDA opcode is prefetched by both the INT1 and INT2 RTI
instructions. However, in the case of the INT1 RTI prefetch, this is a
redundant operation.
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, save the
H register and then restore it prior to exiting the routine.
Rev. 6
Resets and Interrupts
For More Information On This Product,
Go to: www.freescale.com
#$FF
INT1 INTERRUPT SERVICE ROUTINE
INT2 INTERRUPT SERVICE ROUTINE
.

Interrupt Recognition Example

Resets and Interrupts
Interrupts
BACKGROUND
ROUTINE
Technical Data
77

Advertisement

Table of Contents
loading

Table of Contents