Question: What value is returned from the getValue function given the code below? . section . rodata value 1 : . byte 4 7 value 2

What value is returned from the getValue function given the code below?
.section .rodata
value1: .byte 47
value2: .short 18
.section .text
getValue:
la t0, value1
lb t0,(t0)
la t1, value2
lh t1,(t1)
add a0, t0, t1
ret
What value is returned from the getValue function

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 Programming Questions!