SPECIAL 000000 |
rs |
rt |
rd |
0 00000 |
MOVZ 001010 |
6 |
5 |
5 |
5 |
5 |
6 |
MOVZ rd, rs, rt |
MIPS32, removed in Release 6 |
Move Conditional on Zero |
Move Conditional on 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 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 'SELEQZ' instruction. Refer to the
SELEQZ instruction in this manual for more information.
if GPR[rt] = 0 then GPR[rd] = GPR[rs] endif
None
The zero value tested might be the condition false result from the SLT, SLTI, SLTU, and SLTIU comparison instructions or a boolean value read from memory.