MC68HC708AS48 FREESCALE [Freescale Semiconductor, Inc], MC68HC708AS48 Datasheet - Page 138

no-image

MC68HC708AS48

Manufacturer Part Number
MC68HC708AS48
Description
Advance Information
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
System Integration Module (SIM)
9.6.1.1 Hardware Interrupts
Advance Information
138
INTERRUPT
MODULE
R/W
IAB
IDB
NOTE:
ADDRESS
RTI
OPCODE
RTI
ADDR. + 1
A hardware interrupt does not stop the current instruction. Processing of
a hardware interrupt begins after completion of the current instruction.
When the current instruction is complete, the SIM checks all pending
hardware interrupts. If interrupts are not masked (I bit clear in the
condition code register) and if the corresponding interrupt enable bit is
set, the SIM proceeds with interrupt processing; otherwise, the next
instruction is fetched and executed.
If more than one interrupt is pending at the end of an instruction
execution, the highest priority interrupt is serviced first.
demonstrates what happens when two interrupts are pending. If an
interrupt is pending upon exit from the original interrupt service routine,
the pending interrupt is serviced before the LDA instruction is executed.
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 M68HC05, M6805, and M146805
Families, 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.
RTI
Figure 9-10. Interrupt Recovery Timing
IRRELEVANT
DATA
SP – 4
System Integration Module (SIM)
CCR
SP – 3
A
SP – 2
X
SP – 1
HIGH BYTE
PC – 1
SP
LOW BYTE
PC – 1
MC68HC708AS48
PC
OPCODE
Figure 9-11
PC + 1
OPERAND
MOTOROLA
Rev. 4.0

Related parts for MC68HC708AS48