Question: In the box at right, compose a loop program to store the value 0 x 8 9 ab 6 7 2 f in data locations
In the box at right, compose a loop program to store the
value xabf in data locations w x y and z Note that
the data words wz are declared with value as a place
holders for each number. Remember: the program MUST
be a loop! That means that you must write a loop that will
execute four times to store the data in locations wz End
the program as usual with a syscall Hint: This would
be a good program to use the branch instruction beqz.
After completing the program answer these questions:
What are the memory addresses of w x y z
How do you decide when you are done ie how do you
know when you have gone through the loop four
times
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
