inline assembler and Pentium specific instruction(s)
ok, I'm sure the answer is obvious but it currently
eludes me. I'm trying to compile the following
fragment of code which uses the Pentium specific
mov eax, 2
I get the compilation error,
C2400: inline assembler syntax error in 'opcode'; found 'newline'
Further investigation of this error, shows that it can be caused
by ( suprise , suprise ) Pentium specific opcodes.
"Specifying a Pentium instruction can cause this error. Choosing the Pentium
option (/G5) causes the compiler to generate instruction sequences optimized
for the Pentium, but does not allow instructions specific to the Pentium. "
.. that last bit seems a bit odd.
Does anyone know how I can specify Pentium ( and other processor
specific opcodes ) in inline assembler without getting this sort of