Page 1 of 1

How can I change in MIPS the following: # yellow box la $a0, 1 la $a1, 1

Posted: Sun Jul 10, 2022 11:27 am
by answerhappygod
How can I change in MIPS the following:
# yellow box la $a0,1 la $a1,1 la $a2,4 #yellow la $a3,13 # size = 14 jal draw #Jump and linkto draw # Green circle la $a0,1 la $a1,17 la $a2,2 #color =2 la $a3,13 #squaresize = 14 jal drawBox #Jump and link to drawBox
How can I make it into a loop? I want to use this in .data.Don't forget the size too.
Table: .word 1,1,4 #yellow .word1,17, 2 #green
la $t0, Table
addi???