EXTEND 11110 |
00000 |
0 |
00 |
000 |
SHIFT 00110 |
rx |
0 |
sel = 5 |
SRL 10 |
5 |
5 |
1 |
2 |
3 |
5 |
3 |
3 |
3 |
2 |
MOVTZ rx, $0 |
MIPS16e2 |
Move Conditional on T Equal to Zero Extended |
Move Zero Conditional on T Equal to Zero Extended
To test special register T and then conditionally move a GPR after testing a GPR value.
If T = 0, then GPR[rx] = 0
If the value in GPR[24] is equal to 0, GPR rx is written with the value 0.
Unpredictable prior to MIPS16e2.
if GPR[24] = 0 then GPR[XLat[rx]] = 0 endif
In implementations prior to MIPS16e2, this instruction yielded unpredictable results. It would typically be executed as an SRL instruction.
The zero value tested might be the condition false result from the CMP or CMPI comparison instructions or a boolean value read from memory.