Question: using Easy68K software to do these question (d) What is the function of the program? Do not give a description on an instruction by instruction

using Easy68K software to do these question

using Easy68K software to do these question (d) What is the function

(d) What is the function of the program? Do not give a description on an instruction by instruction level; give the overall task of the program. (e) Explain the purpose of the instruction LSR #2, D0. (f) Write a program to add two numbers stored at locations $2000 and $2001, and store the sum at location $2002. Test the functionality of the program with test data 3 and 4.

START LOOP ORG MOVE MOVE.B MOVE.L MOVE.B ADD.L SUB.B BNE LSR MOVE.B STOP $1000 #MARKS, A0 STUDENTS, D2 #$0, DO (10) +, 01 D1, DO #$1, D2 LOOP #2, DO ; Logical Shift Right by 2 places DO, RESULT #$ 2700 ; stop Simulator $2000 $4 STUDENTS MARKS RESULT ORG DC.B DC.W DC.B END $55, $66, $88, $77 START Figure 04

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!