Question: Given a stack and stack pointer in the initial state shown below and register values as specified: Memory Registers Ox00000000 ro 22 rl 33 r2

Given a stack and stack pointer in the initial state shown below and register values as specified: Memory Registers Ox00000000 ro 22 rl 33 r2 57 r3 1701 P Z Y r4 12 r13 TOS r5 60 B D OxFFFFFFFF Fill in the blanks appropriately to show the values stored on the stack after the following instruction is executed. If the locations are full with previous values or unknown-> indicate it with a U, else enter the current register value stored in that location, e.g. 123 STMFD r13!, {rO-r2.15) 1. Location Pon the stack has value 22 2. Location Z on the stack has value 33 3. Location Y on the stack has value 57 4. Location X on the stack has value 60 5. Location A on the stack has value U 6. Location Bon the stack has value U 7. Location Con the stack has value 8. Location Don the stack has value 9. New SP points to the location P 10. This is a FD type of stack, where you go from larger addresses to smaller address. (fill in the blanks with FA, EA, FD, ED)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
