Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Safari File Edit View History Bookmarks Window Help 34%) Sun 12:24 PM Wayne Stat

ID: 3598197 • Letter: S

Question

Safari File Edit View History Bookmarks Window Help 34%) Sun 12:24 PM Wayne State University Content -csc 3100 1709 001 https://blackboard.wayne.edu/bbcswebdav/pid-6446584-dt-content-ri... Wayne State University Schedule of Classes Q3: Suppose A0 contains $F12CE600. What is the result of: a. ADDA.L #$1234, A0 b. ADDA·W #$1234, AO C. ADDA.W #$4321, A0 Q4: What does the following code do? CLR DO MOVE.B DO, D1 MOVE B #10, D2 XXX ADD.B D2, DO ADD.B #1, DI ADD.B D1, DO SUB.B #1, D2 BNE XXX STOP #$2700

Explanation / Answer

3. The result of both values after addition is stored at the location of the variable given in the question according to the language used in the any desired programming language.

4. In this, initially the two values D1 and D2 are moved to the desired variable location given in the question.Then three times the addition operation is performed between the two- two different values and then the substraction is performed between two different variable values stored and then the program terminates.