Question: please write all details and draw the stack for part 1 please write all details and draw the stack for part 1 and solve part
(1) Show the stack content immediately before the PUSH instruction runs. Suppose the stack pointer SP (i.e., MSP in this case) was 820000600 immediately before the system timer interrupt occurs. (2) What are the values of these registers (RQ-R12, LR, SP, and PC) immediately after the interrupt exits? 7. Suppose register i(i12) is initialized to have a value of i(e.g.r=0,r1=1,r2= 2, r3 =3, etc.). Assume the main stack (MSP) is used. Also, in the interrupt handler, if LR= OXFFFFFFF9, then the main stack (MSP) is used. If LR= OXFFFFFFFD, then the process stack (PSP) is used. The program status register (PSR) =000000020,PC= 068000020, and LR=020008020, when the interrupt occurs. (1) Show the stack content immediately before the PUSH instruction runs. Suppose the stack pointer SP (i.e., MSP in this case) was 020000600 immediately before the system timer interrupt occurs. 11.10 - Exercises (2) What are the values of these registers (RQ-R12, LR, SP, and PC) immediately after the interrupt exits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
