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 line of code.
ORG S1500
START: ;first instruction of program
LEA.L S004AC4,A1
LEA.L S004ACE,A2
LEA.L S004AE0,A3
LEA.L S004AEA,A4
MOVE.B (A1)+,D0
MOVE.B (A2),(A3)
MOVE.B D0,-(A4)
MOVE.B (A1)+,D0
MOVE.B (A2),(A3)
MOVE.B D0,-(A4)
MOVE.B (A1)+,D0
MOVE.B (A2),(A3)
MOVE.B D0,-(A4)
MOVE.B (A1)+,D0
MOVE.B (A2),(A3)
MOVE.B D0,-(A4)
MOVE.B (A1)+,D0
MOVE.B (A2),(A3)+
MOVE.B D0,(A4)
halt simulator
Variables and Strings
ORG S004AC4
DC.L 'ABCDEFGHI'
END START
last line of source