Question: convert line by line to assembly, must read a string using syscall 8 and use a_to_i. use syscall 1 to print the integer. address of
convert line by line to assembly, must read a string using syscall 8 and use a_to_i. use syscall 1 to print the integer. address of the string read by main must be passed to a_to_i as an argument in register $a0, and the resulting integer value must be returned in register $v0.

#program takes in a string of digits and converts them to integers until 0 is entered, at which point the program ends #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
