cmovf.s


Conditional move (single precision) (Floating-point Conditional Move (Single))

[Syntax]

-

cmovf.s cc#3, reg1, reg2, reg3

[Function]

When the CC(7:0) bits of the FPSR register specified by fcbit in the opcode are true (1), data from reg1 is stored in reg3. When these bits are false (0), the reg2 data is stored in reg3.

[Description]

-

The assembler generates one cmovf.s machine instruction.

[Caution]

-

If r0 is specified as reg3 in the cmovf.s instruction, the assembler outputs the following message and stops assembling.

E0550262 : Illegal operand (cannot use r0 as destination in RH850 mode).