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

(Solved) : 5 Network Five Nodes Shown One One Secure Communication Established Every Pair Nodes B Sec Q34190419 . . . .(Solved) : 5 Network Five Nodes Shown One One Secure Communication Established Every Pair Nodes B Sec Q34190419 . . . .

<p dir="ltr"><img src="https://media.cheggcdn.com/media%2F72c%2F72c12d58-1745-4411-8acd-31d9e7a878cd%2Fimage.png" alt="5. In the network of five nodes shown below, a one-on-one secure communication has to be established between every pair of nodes. That is, A and B