Hi:

i just started to learn MMX programming with a nice tutorial, but when i tried to asm the asm file gives me the error message: "instruction or register not accepted in current CPU mode". I have tried putting in the top of the file .586 , .586p, .686 , .686p but it still gives me the same error.

This is the question: how do i do to program with mmx instructions in masm?

thanks
Posted on 2002-07-28 21:17:54 by IrOn


.586p ;or 686 whatever
.MMX


That should work. At least it does in my processor.
Posted on 2002-07-28 21:25:35 by CodeLover
Even:
.386

.mmx


would work, even though it does not make any logical sense.
Posted on 2002-07-28 22:18:46 by comrade
Extended MMX instruction needs
.XMM


3DNow!
.K3D
Posted on 2002-07-29 00:44:25 by masquer
Thanks for the help
Posted on 2002-07-29 17:53:40 by IrOn