Question: Which line of code inserted in the program will cause the program to output the value 9 ? . data W: . word 9 X:

Which line of code inserted in the program will cause the program to output the value 9?
.data
W: .word 9
X: .word 4
Y: .word 5
Z: .word 14
.text
MAIN:
<<< INSERT CODE HERE >>>
lw $s0,0($t0)
la $t1, Y
lw $s1,0($t1)
add $a0, $s0, $s1
li $v0,1
syscall
A.
la $t0, X
B.
la $t0, Z
C.
la $t0, W
D.
la $t0, Y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!