Question: Assume X = $2ABI, Y-SACBF, A = $EA, B = $FB and CCR = $0F, SP = CE 10, PC = 2000. Following three pieces


Assume X = $2ABI, Y-SACBF, A = $EA, B = $FB and CCR = $0F, SP = CE 10, PC = 2000. Following three pieces of code are executed independently. What are the contents of Stack and SP, and PC if following instruction is execute? Assume SUB1 is stored at memory address D000 a. Mem. Addr. Machine Code Code RTL 2000 2003 16 D000 JSR SUB1 MEMORY Address Data CEOD CEOE CEOF CE10 CE11 CE12 10 AB BA PC- SP = b. What are the contents of Stack and SP, and PC if following code is execute? Assume SUB1 is stored at memory address D000 Mem. Addr. Machine Code Code RTL 200006 D000 2003 JMP SUB1 13 1 MEMORY Address Data CEOD CEOE CEOF CE10 CE11 CE12 10 AB BA PC = Assume X = $2ABI, Y-SACBF, A = $EA, B = $FB and CCR = $0F, SP = CE 10, PC = 2000. Following three pieces of code are executed independently. What are the contents of Stack and SP, and PC if following instruction is execute? Assume SUB1 is stored at memory address D000 a. Mem. Addr. Machine Code Code RTL 2000 2003 16 D000 JSR SUB1 MEMORY Address Data CEOD CEOE CEOF CE10 CE11 CE12 10 AB BA PC- SP = b. What are the contents of Stack and SP, and PC if following code is execute? Assume SUB1 is stored at memory address D000 Mem. Addr. Machine Code Code RTL 200006 D000 2003 JMP SUB1 13 1 MEMORY Address Data CEOD CEOE CEOF CE10 CE11 CE12 10 AB BA PC =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
