masm ml.exe accepts lock bts eax, 2 and assembles this instruction to F0 0F BA E8 02, although its NOT available on any CPU.Execution then leads to an #UD exception.The LOCK prefix F0 is only allowed, if the FIRST operand is a MEMORY LOCATION. On registers,this prefix is NOT allowed.MASM9 / MASM10
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...