Question: 4. Complete the following assembly code that loads a word of memory at location 100016 with 0, the next location at 100216 with 2, the

 4. Complete the following assembly code that loads a word of

4. Complete the following assembly code that loads a word of memory at location 100016 with 0, the next location at 100216 with 2, the next location 100416 with 4, and so on up to and including location 102E16. Note that your code should be stored at location 0xAA of the program memory. (10 points) // address in which the program is stored // DO contains the loading word to the memory // A0 points at the location of the word in memory // load DO to the specified memory location MOVE.L .-,%DO ,%A0 %DO, LOOP2 ADD.L LOOP3-- -,%DO update the next word to be loaded to memory ,%A0 // update the address for the next word ,8DO // compare DO with its supposed final value BNE // if not equal, branch

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!