Question: Modify this program so that it will outpul all of the integers between the number entered and zero. #HelloWorld.asm .globl main .data msg1: .asciiz Input
Modify this program so that it will outpul all of the integers between the number entered and zero.
#HelloWorld.asm .globl main
.data
msg1: .asciiz "Input a number " msg2: .asciiz "The number was "
.text
main:
li $v0,4 la $a0,msg1 syscall
li $v0,5 syscall
move $t0, $v0
li,$v0,4 la $a0, msg2 syscall
li $v0,1 move $a0, $t0 syscall
li $v0,10 syscall
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
