Question: Please show the work/ explain how you get the answer so I can learn. Any help is appreciated! :) 1. Assemble the codes. Convert the

Please show the work/ explain how you get the answer so I can learn. Any help is appreciated! :)

1. Assemble the codes. Convert the following 68K assembly language instructions to the machine codes.

1) MOVE.W D3, $0000A000

2) MOVE.B $42B7, D2

3) MOVEA.W $7000, A7

4) ADD.W D7, D0

5) SUB.B D1, D2

2. Error Finding. Each of the following 68K assembly language instructions will cause an assembler error. Examine each instruction and explain how to fix it.

1) MOVE.B $A000, A3

2) ADD.B #$1000, D2

3) MOVEA.W $1234, D0

4) ANDI.B #23, #$100

5) SUBI.B D3, %1000

3. For each of the operations below, assume that D0 contains the value $C198F382 and initially XNZVC=00000. Then, evaluate the value in D0 and the state of the CCR.

1) ASL.B #3, D0

2) ASL.L #4, D0

3) LSR.B #7, D0

4) ROL.W #2, D0

5) ROR.L #7, D0

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!