6. (10 points) Suppose register i (i s 12) is initialized to have a value of i (e.g.r0 = 0,r1=1, 12 = 2, 13 = 3, etc.). Assumes the main stack (MSP) stack is used. In addition, in the interrupt handler, if LR - OxFFFFFFF9, then the main stack (MSP) is used. If LR - OxFFFFFFFD, then the Process Stack (PSP) is used. When the interrupt occurs, the program status register (PSR) - Ox00000020, PC = 0x08000020, LR =0x08000180, SP = 0x20001000. SysTick_Handler PROC PUSH {na,r5, 6) ADD re, re, #1 ri, ri, #1 ADD r2, r2, #1 r3, r3, 1 r4, r4, #1 r5, r5, #1 r6, r6, #1 ADD r7, r7, #1 r8, r8, #1 r9, r9, 61 rie, r10, 81 rii, r11, #1 ADD r12, 112, 61 {r4, 5, 6) ADD ADO ADD ADD ADD ADD ADD ADD ADD POP BX LR ENDP What are the values of the following registers immediately after the interrupt exits? RO R1 R2 R3 R4 RS R6 R7 R8 R9 R10 R11 R12 PC LR SP PSR 6. (10 points) Suppose register i (i s 12) is initialized to have a value of i (e.g.r0 = 0,r1=1, 12 = 2, 13 = 3, etc.). Assumes the main stack (MSP) stack is used. In addition, in the interrupt handler, if LR - OxFFFFFFF9, then the main stack (MSP) is used. If LR - OxFFFFFFFD, then the Process Stack (PSP) is used. When the interrupt occurs, the program status register (PSR) - Ox00000020, PC = 0x08000020, LR =0x08000180, SP = 0x20001000. SysTick_Handler PROC PUSH {na,r5, 6) ADD re, re, #1 ri, ri, #1 ADD r2, r2, #1 r3, r3, 1 r4, r4, #1 r5, r5, #1 r6, r6, #1 ADD r7, r7, #1 r8, r8, #1 r9, r9, 61 rie, r10, 81 rii, r11, #1 ADD r12, 112, 61 {r4, 5, 6) ADD ADO ADD ADD ADD ADD ADD ADD ADD POP BX LR ENDP What are the values of the following registers immediately after the interrupt exits? RO R1 R2 R3 R4 RS R6 R7 R8 R9 R10 R11 R12 PC LR SP PSR