Question: Motorola 68000 assembly question 3. (10 pts.) Given the code fragment below, write an equivalent M68000 assembly language sum = 0 for ( i =
Motorola 68000 assembly question

3. (10 pts.) Given the code fragment below, write an equivalent M68000 assembly language sum = 0 for ( i = 100; i 0; i-- ) if( i % 3 == 1 ) sum = sum + i i=i/2 You MUST assume that the following variable -> register assignments. sum You do not know the values of i or sum prior to where your code begins, but you can assume that they DO >D1 are valid. Use the provided lines and provided labels. (You do not need to use all lines)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
