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