Question: Suppose register i (i s 12) is initialized to have a value ofi (e.g. r0 0, r1-1, r2 2, r3- 3, etc.). The program status



Suppose register i (i s 12) is initialized to have a value ofi (e.g. r0 0, r1-1, r2 2, r3- 3, etc.). The program status register (PSR) = 0x00000020, PC-000000020, and LRs 0x20008020, and a main thread is executing when the interrupt occurs. Upon interrupt occurring and context switch but before the PUSH instruction is executed in the below ISR code, LR- OxFFFFFFF9. Suppose register i (i s 12) is initialized to have a value ofi (e.g. r0 0, r1-1, r2 2, r3- 3, etc.). The program status register (PSR) = 0x00000020, PC-000000020, and LRs 0x20008020, and a main thread is executing when the interrupt occurs. Upon interrupt occurring and context switch but before the PUSH instruction is executed in the below ISR code, LR- OxFFFFFFF9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
