fcmove

Floating-Point Conditional Move If Equal

FCMOVE ST(0), ST(i)

Moves ST(i) to ST(0) if ZF=1.

Details

The Floating-Point Conditional Move If Equal instruction moves ST(i) to ST(0) if ZF=1.

Pseudocode Operation

// Moves ST(i) to ST(0) if ZF=1

Example

FCMOVE st(0), st(1)

Encoding

Binary Layout
DA
+0
 
Format Legacy
Opcode DA C8+i
Extension x87 FPU (P6+)

Operands

  • src
    Register