When an interrupt is triggered, the following actions are taken automatically by the
• The current Program Counter is saved on the stack, low-byte first.
• Interrupts of the same and lower priority are blocked.
• In the case of Timer and External interrupts, the corresponding interrupt flag is set.
• Program execution transfers to the corresponding interrupt handler vector address.
• The Interrupt Handler Routine executes.
• The current Program Counter is saved on the stack, low-byte first.
• Interrupts of the same and lower priority are blocked.
• In the case of Timer and External interrupts, the corresponding interrupt flag is set.
• Program execution transfers to the corresponding interrupt handler vector address.
• The Interrupt Handler Routine executes.
No comments:
Post a Comment