Question: 1 . ( 2 5 points ) Interrupts and Exception Processing A . ( 5 points ) Illustrate how the top of the stack should

1.(25 points) Interrupts and Exception Processing
A.(5 points) Illustrate how the top of the stack should look like at the moment just before RET is executed.
B.(5 points) The MSP430F5529 receives interrupt requests from the watchdog timer in the interval mode (WDT) and parallel ports P1.7 and P2.2 during execution of an instruction that takes 6 clock cycles to execute. P1 is received in the 1st clock cycle of the instruction execution, WDT is received in the 5th clock cycle, and P2 in the 3rd clock cycle. Which ISR is accepted and processed first, assuming all interrupts are enabled and GIE=1? Hint: Inspect IVT for determining priorities.
C.(5 points) How is the priority of interrupts determined?
D.(5 points) What arguments do Interrupt service routines return?
E.(5 points) At what address does the interrupt vector table start?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!