Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is a questions releated to computer organization and MIPS.using MARS.can so

ID: 638700 • Letter: T

Question

This is a questions releated to computer organization and MIPS.using MARS.can some one help me to answer it? and tell me how to do it maybe?thank you.plz read over the question carefully.(the first answer below is not right)

1 Endianness The following MIPS code defines space in the data segment for 4 bytes and initializes those 4 bytes to the following values. We can refer to the start of this byte sequence, by using the label “a". . data Copy the code to the simulator and assemble it Optional Explore: Examine the data in MARS's data segment window. What do you see? Is this what you expected to see? Please make a text file called lab3partla.txt to include your answers for questions 1, 2 and 3 1.1 Questions: 1. What is the address of the byte with value OxBC? Tip: Try writing a simple program to load a byte from memory. Ensure that the byte loaded is the OxBC byte. Then, consider what address you loaded the byte from. If our purpose is to use these 4 bytes as a word, we could have defined the previous label as follows: a: .word 0x93FEBC3E Replace a's definition in the simulator and assemble the code again.

Explanation / Answer

Part 1: Endianness
part a:
.data
a: .byte 0x53, 0x19, 0xA4, 0x4D
Q1: What is the address of byte 0xA4?
Answer: 0x10010002
.data
a: .word 0x5319A44D
Q2: What is now the address of byte 0x19? (though this is not exactly your question But it may help).
Answer: 0x10010001
Q3: Is the simulator little endian or big endian? How can you tell?
Answer: Simulator is little

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote