How can I read an integer into a local variable in MIPS ? Is it possible? The problem asks me to use the concept of assigning integer variables as local variables. #A question from my text book. And by the way , not a homework!
Thanx in advance! :D
How can I read an integer into a local variable in MIPS ? Is it possible? The problem asks me to use the concept of assigning integer variables as local variables. #A question from my text book. And by the way , not a homework!
Thanx in advance! :D
li $v0, 5
syscall
move $t0, $v0
The value is now in $t0. This will read the integer from the console.