Question
Q: Am asking for assistance in understanding and solving these fill in the blanks example using MIPS language on the book Digital Design and Computer
Q: Am asking for assistance in understanding and solving these fill in the blanks example using MIPS language on the book Digital Design and Computer Architecture with the steps of the solution to better understand, thanks.
MIPS language: The bold answers are wrong, please assist in getting them write and to understand thanks ahead.
b) 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_________ . 0x02112040 wrong answer
2. lw $t0, 0x20($t7) in hexadecimal is 0x__________. 8DE80020 wrong answer
3. addi $s0, $0, 10 in hexadecimal is 0x_________. 2230FFF6 wrong answer
c) Suppose that $s3 initially contains 0x23456789.
The instruction sw $s3, 4($0) stores the data in register $s3 into memory word number 0x_____ 0004 wrong answer . This word has the byte address 0x_____ 0010 wrong answer .
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_____ 00000023 wrong answer and in a little-endian machine the value will be 0x______. 00000089 wrong answer .
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started