11. (10 pts) For the following operations in the ARCTool program below: the inst
ID: 3722175 • Letter: 1
Question
11. (10 pts) For the following operations in the ARCTool program below: the instruction he is defined in table 4, 10 as branch equal ( the instruction bu is defined as branch always: ) Write the instruction the program jumps to when be here+4 branches on the 1st pass through the code? Answer a. b. Write the instruction the program jumps to when ba here-4 completes its branch? Answer .begin org 0 :20 15 here: orncc %r2, %r0, %r3 addcc %r3, 1, %r3 be here+4 addec %r1, %r3, %r4 ba here-4 end 12. (8 pts) Using the byte memory listed below write out the 32-bit Word according to the listed format. Memory Address Data 01 02 03 11001100 00001000 11101011 00110101 Write the binary Word in Big Endian format. Answer: a) b) Write the binary Word in Little Endian format. Answer:Explanation / Answer
12 . a)
In big Endian format the most significant bits of the data word will be stored in lowest memory address.
If the given representaion is in big endian format Then binary word is : 11001100 00001000 11101011 00110101
b) In little Endian format the LSB bits of the given dataword will be stored in lowest memory address
If the given representaion is in little endian format Then binary word is : 00110101 11101011 00001000 11001100
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.