Question: Q 5 ) ( 6 Points ) Based on the debug window figure on the next page, Answer the following: a ) ( 1 Point
Q Points Based on the debug window figure on the next page, Answer the following:
a Point How can you identify from the image below that the processor is servicing an interrupt?
when we entering an interlupt
XPSR
b Point What is the exception number that is being serviced you can use hex value
c Point Based on the status reflected below, if the processor is at the end of an interrupt service routine, can you tell if a subroutine has been serviced inside the interrupt? If yes, how?
d Point What address is the stack pointer pointing to
e Point Assuming that the ISR completed executing its code and now needs to return. What value from below needs to be loaded in the PC for the architecture to return from the interrupt service routine? Write the assembly code that achieves that.
f Point Fill in the table on the next page to reflect the values of all registers after the return from interrupt sequence completes. Keep in mind that the processor stores the following registers when entering an interrupt XPSR Return address, LR R R R R R R respectively. The SP usage will not change.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
