Load immediate loads a register with a value that is immediately available (without going to memory). My question is how can i load a register with a value without using load immediate ?
li $1,100 # i don't wanna use this method.
Load immediate loads a register with a value that is immediately available (without going to memory). My question is how can i load a register with a value without using load immediate ?
li $1,100 # i don't wanna use this method.
For any operation that accepts an immediate, you can set the other operand to be the identity element of that operation: x = op(x, I)
. Here are some options: