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. . . . .