I am new to MIPS so wanted to know if the move command removes the value from the original register in which it was stored? For eg. move $t1, $v0 Value in $vo will be copied or entirely moved to $t1?
Asked
Active
Viewed 542 times
-1
-
A MIPS instruction-set reference specifies every effect each instruction has on the architectural state. That doesn't include modifying the source register, for fairly obvious reasons. (It would be extra work, an extra register write, and normally undesirable for programmers / compilers.) – Peter Cordes Oct 06 '22 at 02:58
1 Answers
1
The mips move
instructions are more accurately copy
instructions. The source register is untouched by move
Note that move
is a pseudo-instruction, provided by the assembler. It's not present in the hardware.
See https://www.dsi.unive.it/~gasparetto/materials/MIPS_Instruction_Set.pdf

Tangentially Perpendicular
- 5,012
- 4
- 11
- 29