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

Given a stack and stack pointer in the initial state shown below and register values as specified: Memory Ox00000000 ro Registers 22 33 r1 Z r2 57 Y r3 1701 X r4 12 r13 TOS r5 60 A 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 STMFA 113!, {r0-12.15) 1. Location Pon the stack has value 2. Location Z on the stack has value U 3. Location Y on the stack has value u 4. Location X on the stack has value U 5. Location A on the stack has value 22 6. Location B on the stack has value 33 7. Location Con the stack has value 57 8. Location Don the stack has value 60 9. New SP points to the location A 10. This is a FA type of stack, where you go from smaller addresses to larger 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
