CMOV

From Wikipedia, the free encyclopedia

CMOV (Conditional Move) is an x86 instruction set released with the Intel Pentium Pro.

[edit] Example

CMOV {
    IF source_operand = mem {
        TEMP = [mem];              /* This may cause a #GP or other fault */
        IF condition {
            DEST = TEMP;
        }
    } ELSE {
        IF condition {
            DEST = SOURCE;
        }
    }
}

[edit] External links