[X86] CMOVcc not supported by MASM

Even the latest version of MASM does not support the CMOVcc instructions (unless they are named something different my Microsoft ?).

Using the CMOVcc instruction rules the X86 out for compilation to pre Pentium Pro CPU’s.

Aaron

You probably have to emit a directive that enables ppro and higher opcodes. Maybe something like this will work:

    .i686

It has been many years since I've used MASM though, I could be wrong...

-Chris

Even the latest version of MASM does not support the CMOVcc instructions (unless they are named something different my Microsoft ?). Using the CMOVcc instruction rules the X86 out for compilation to pre Pentium Pro CPU's.

You probably have to emit a directive that enables ppro and higher opcodes. Maybe something like this will work:

   .i686

It has been many years since I've used MASM though, I could be wrong...

.686 does it :slight_smile:

Few. Cheers Chris.

The MASM backend is very nearly ready then.

Aaron