SPECIAL 000000 |
rs |
rt |
rd |
0 00000 |
MOVN 001011 |
6 |
5 |
5 |
5 |
5 |
6 |
MOVN rd, rs, rt |
MIPS32, removed in Release 6 |
Move Conditional on Not Zero |
Move Conditional on Not Zero
To conditionally move a GPR after testing a GPR value.
if GPR[rt] != 0 then GPR[rd] = GPR[rs]
If the value in GPR rt is not equal to zero, then the contents of GPR rs are placed into GPR rd.
None
This instruction has been removed in Release 6 and has been replaced by the 'SELNEZ' instruction. Refer to the
SELNEZ instruction in this manual for more information.
if GPR[rt] != 0 then GPR[rd] = GPR[rs] endif
None
The non-zero value tested might be the condition true result from the SLT, SLTI, SLTU, and SLTIU comparison instructions or a boolean value read from memory.