Question: What is the output of the following code: . data X: . word 3 Y: . word 5 Z: . word 7 . text MAIN:
What is the output of the following code:
data
X: word
Y: word
Z: word
text
MAIN:
la $t X
lw $s$t
la $t Y
lw $s$t
la $t Z
lw $s$t
beq $s $s ELSE
add $a $s $s
j ENDIF
ELSE:
add $a $s $
ENDIF:
li $v
syscall
A
B
C
D
E
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
