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 $1500
START:
LEA.L $004AC4, A1
LEA.L S004ACE, A2
LEA.L $004AE0, A3
LEA.L $004AEA, A4
; first instruction of program
MOVE.B
(A1)+, D0
MOVE.B
-(A2), (A3)+
MOVE.B
DO, -(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 $004AC4
DC.L'ABCDEFGHIJ
END START
; last line of source