Question: . data X: . word 3 Y: . word 5 Z: . word 7 . text MAIN: la $t 0 , X lw $s 0

.data
X: .word 3
Y: .word 5
Z: .word 7
.text
MAIN:
la $t0, X
lw $s0,0($t0)
la $t1, Y
lw $s1,0($t1)
la $t2, Z
lw $s2,0($t2)
bne $s1, $s2, ELSE
add $a0, $s1, $s0
j ENDIF
ELSE:
add $a0, $s2, $0
ENDIF:
li $v0,1
syscall
A.5
B.12
C.8
D.3
E.7

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!