Question: Please, explain with comments next to the answers. b ) Assume X-S2AB 1, Y-SACBF, SP = SCE06, D-SEBFF and CC-SOF The contents of memory are
b ) Assume X-S2AB 1, Y-SACBF, SP = SCE06, D-SEBFF and CC-SOF The contents of memory are shown in the table below. RTS instruction at the end of the SUB1 is executed, that is, JRS SUB1 LOOP: ADAA part of the code SUBI , subroutine routine part of the ISR code part of the ISR code ; being executed now PULA RTS: MEMORY Address Data 603 E06 12-4- SP 4E 59 5O OA Cl 2D A1 CHOP 10 What are the contents of CPU registers just after the RTS has been esecuted? PC CCR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
