Question: this is using mips program. For the life of me I can't get the two values to subtract or display themselves as in the output.

this is using mips program. For the life of me I can't get the two values to subtract or display themselves as in the output. Help Please!
.data str: .asciiz "What is the first value? " # First Input a: .word 0 .text .globl main main: #printString(str) laa0 , str li v0, 4 syscall getinteger() li ve, 5 syscall sw v0, a # a li v0, 11 li a0, n syscall # a-printChar(' ') print!nteger(a) li v0, 1 lw a0, a syscall # a # exit() - stops the program li v0, 10 syscall B.1: Modify your program to ask for another input (including adding another string to prompt them!) and assign that to a new variable b B.2: Add a variable cand assign this to the resulting value of ab B.3: Instead of printing the value of a ' print the resulting c Here's the output I would expect to see in the completed program What is the first input? i What is the second input? 78 45-78 -33
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
