I am taking a MIPS class this semester and for some reason I am having a tough time parsing out an integer. Can someone give me a hint what I am doing incorrectly here? Below, I am attempting to parse the "7" and "2" out that are currently stored in register $t1. The reason for this is I later on need to compare the "7" and "2" against another number. Thanks.
# UNTITLED PROGRAM .data # Data declaration section .text main: # Start of code section li $t1, 7214 move $a0, $t1 li $v0,1 exit: li $v0, 10 syscall # END OF PROGRAM
Last edited by a moderator: