movn.s
Move single-precision if integer register not zero
Copies the single-precision value in the second register into the first if the third, an integer register, is not zero.
Forms
movn.s , ,
Operands
$f0- Any floating-point register,
$f0to$f31. $f1- A floating-point register. It may be the same register as
$f0. $t3- Any general-purpose register,
$0to$31, using its numeric or named spelling, such as$8or$t0($zerois$0;$rais$31).
.data
value: .float 2.0
.text
# movn.s copies when the condition register is nonzero. Inspect $f0: 2.0 (raw bits 0x40000000).
l.s $f2, value
li $t0, 1
movn.s $f0, $f2, $t0