Question: 1) (6 points) Hand-execute the instructions in Table 2. After each instruction is executed illustrate the condition of the stack and the values of the

1) (6 points) Hand-execute the instructions in Table 2. After each instruction is executed illustrate the condition of the stack and the values of the registers. The original register contents are shown in Table 1 and assume the stack is initially empty. All values must be in HEX. Use . to indicate an empty memory location. I completed the first instruction for you (PSHA) As you can see, after PSHA is executed, only the SP register changed to $1FFF and the stack now has $11 at memory location $1FFF. Assume the stack is initially empty. Table 1: Original Register Contents. SP $11 $22 $3456 SABCD $2000 Table 2: Use this table for your answer Contents Stack Contents 511
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
