Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following MIPS assembly codes .data a: .word -10 b: .word 8 e: .byte -10 .text lw $s0,a lw $s1,b lw $s2,e lb $s3,e
Consider the following MIPS assembly codes .data
a: .word -10
b: .word 8
e: .byte -10
.text
lw $s0,a
lw $s1,b
lw $s2,e
lb $s3,e
add $t1,$s2,$s1
add $t2,$s3,$s1 a)Observe that after executing the program $s2 has 0x000000f6 and $s3 has 0xfffffff6. Explain Why? b)Observe that we are performing the same mathematical operation, (-10+8), and storing the results in $t1 and $t2, respectively. Check which one has the correct result. Explain why?
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