Question: 2. (15 points) For the following setup describe the changes taking place in registers and memory. Make sure to identify the memory changes after executing

 2. (15 points) For the following setup describe the changes taking

2. (15 points) For the following setup describe the changes taking place in registers and memory. Make sure to identify the memory changes after executing each the of code. ORG S1500 START: first instruction of program LEA L S004AC4, AI LEAL 5004ACE, A2 LEA.L S004AEO, A3 LEA.L S004AEA, A4 MOVE.B (AI), DO MOVE.B -(A2). (A3)+ MOVE.B DO, -(A4) MOVE.B MOVE.B MOVE.B (AI), DO -(A2). (A3H+ DO, -(A4) MOVE.B (AI), DO MOVE.B -(A2). (A3) MOVEB DO.-(A4) MOVE.B (A1), DO MOVEB -(A2), (A3) MOVE.B DO. - (A4) MOVE.B (AI)+, DO MOVE.B -(A2). (A3) MOVE.B DO.-(A4) halt simulator * Variables and Strings ORG S004AC4 DC.L'ABCDEFGHIJ END START last line of source 2. (15 points) For the following setup describe the changes taking place in registers and memory. Make sure to identify the memory changes after executing each the of code. ORG S1500 START: first instruction of program LEA L S004AC4, AI LEAL 5004ACE, A2 LEA.L S004AEO, A3 LEA.L S004AEA, A4 MOVE.B (AI), DO MOVE.B -(A2). (A3)+ MOVE.B DO, -(A4) MOVE.B MOVE.B MOVE.B (AI), DO -(A2). (A3H+ DO, -(A4) MOVE.B (AI), DO MOVE.B -(A2). (A3) MOVEB DO.-(A4) MOVE.B (A1), DO MOVEB -(A2), (A3) MOVE.B DO. - (A4) MOVE.B (AI)+, DO MOVE.B -(A2). (A3) MOVE.B DO.-(A4) halt simulator * Variables and Strings ORG S004AC4 DC.L'ABCDEFGHIJ END START last line of source

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!