Answered You can hire a professional tutor to get the answer.

QUESTION

Question: MIPS language from design architecture course. a) Convert the three instructions below into their hexadecimal sequence (i.

Question:Q: MIPS language from design architecture course.

a) Convert the three instructions below into their hexadecimal sequence (i.e. hexadecimal version of their binary sequence representations in memory)

1. add $t0, $s0, $s1 in hexadecimal is 0x_________ .

2. lw $t0, 0x20($t7) in hexadecimal is 0x__________.

3. addi $s0, $0, −10 in hexadecimal is 0x_________.

b) Suppose that $s3 initially contains 0x23456789.

The instruction sw $s3, 4($0) stores the data in register $s3 into memory word number 0x_____ This word has the byte address 0x_____ 

After this sw instruction has stored in memory, the instruction lb $s3, 4($0) loads data into $s3. In a big-endian machine the value inside $s3 will be 0x_____ and in a little-endian machine the value will be 0x______.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question