Question

ASAP MIPS PROGRAMMING Using a while loop, write an MIPS program that prints the integers from...

ASAP MIPS PROGRAMMING

Using a while loop, write an MIPS program that prints the integers from 1 to 15.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

.data
   myMsg: .asciiz " "

.text
li $t0,0
li $t1,0
li $t3,0
loop:
bgt $t0,14,exit
addi $t0,$t0,1
  
   #printing integer
   li $v0, 1
   move $a0, $t0
   syscall
  
   li $v0, 4
   la $a0, myMsg
   syscall
  
  

j loop

exit:

Note : Please comment below if you have concerns. I am here to help you

If you like my answer please rate and help me it is very Imp for me

Add a comment
Know the answer?
Add Answer to:
ASAP MIPS PROGRAMMING Using a while loop, write an MIPS program that prints the integers from...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT