The code below is giving an arithmetic overflow. Correct thebelow given the below code, so that the value of s0 is printedbefore calling the function fun1, inside the function Fun1 andafter returning from Fun1 in main. Upload the corrected .asm or .sfile in the drop box.
.text
main:
addi $s0,$zero,2
jal Disp
jal Fun1
jal Disp
j Exit
Fun1:
addi $sp,$sp,-4
sw $s0,0($sp)
addi $s0,$s0,15
jal Disp
lw $s0,0($sp)
addi $sp,$sp,4
jr $ra
Disp:
li $v0,1
move $a0,$s0
syscall
jr $ra
Exit:
li $v0,10
syscall