Course Solutions Uncategorized (Solved) : Mips Program Keep Repeating String Say 3 Texts Message Quick Sumary 3 Texts Stored Top Tex Q30677979 . . . .

(Solved) : Mips Program Keep Repeating String Say 3 Texts Message Quick Sumary 3 Texts Stored Top Tex Q30677979 . . . .

 

Why does my mips program keep repeating a string? Say I have 3texts, each with its own message.

This is just a quick sumary but i have 3 texts stored at thetop:

text1: .asciiz “text 1”

text2: .asciiz “text 2”

text3: .asciiz “text 3”

My main problem is in the main:

la $a0, text1

li $v0, 4

syscall

la $a1, text2

li $v0, 4

syscall

la $a2, text3

li $v0, 4

syscall

jr $ra

____

Why does it keep printing only whatever is inside text1 as myoutput?

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post