(Solved) : Text Main 1 Clo 5 Assy Lang Compose Loop Program Put Value 0x73a8ef64 T0 Store Bytes Word Q42705532 . . .

.text main: 1. (CLO 5-Assy Lang.) Compose a loop program to put the value 0x73a8ef64 in $t0. Then, store each of the bytes inspim mips 2000.text main: 1. (CLO 5-Assy Lang.) Compose a loop program to put the value 0x73a8ef64 in $t0. Then, store each of the bytes in the word (0x73, 0xa8, Oxef, 0x64) in data locations w, x, y, and z, consecutively, starting with the 0x64 byte. Note that the data words w-z are declared with value 0, as a place holders for each number. Also, note that you are storing each BYTE as a separate WORD. The program must be a loop. That means that you must write a loop that will execute four times to mask off each byte, move it to another register, and store it in one of the locations, w, x, y, or z. End the program as usual with a syscall 10. After completing the program answer these questions: 1.1. What are the memory addresses of w, x, y, z? 1.2. How do you decide when you are done (i.e., how do you know when you have gone through the loop four times)? W: .data .word 0 .word o .word o .word 0 Show transcribed image text .text main: 1. (CLO 5-Assy Lang.) Compose a loop program to put the value 0x73a8ef64 in $t0. Then, store each of the bytes in the word (0x73, 0xa8, Oxef, 0x64) in data locations w, x, y, and z, consecutively, starting with the 0x64 byte. Note that the data words w-z are declared with value 0, as a place holders for each number. Also, note that you are storing each BYTE as a separate WORD. The program must be a loop. That means that you must write a loop that will execute four times to mask off each byte, move it to another register, and store it in one of the locations, w, x, y, or z. End the program as usual with a syscall 10. After completing the program answer these questions: 1.1. What are the memory addresses of w, x, y, z? 1.2. How do you decide when you are done (i.e., how do you know when you have gone through the loop four times)? W: .data .word 0 .word o .word o .word 0

Expert Answer


Answer to .text main: 1. (CLO 5-Assy Lang.) Compose a loop program to put the value 0x73a8ef64 in $t0. Then, store each of the byt…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us