Tuesday, July 14, 2009

Simple C++ assembly?

I'm using Visual C++. I try this inline code:





__asm{


movl %esp,%eax


};





and I get this error:





inline assembler syntax error in 'opcode'; found 'MOD'





How do I fix this?

Simple C++ assembly?
Try this





__asm{


mov esp,eax


};





It Compiles.





I am not into inline assembly for long. I am sorry if I have misguided you.
Reply:Or else you may contact an assembly expert. Check websites like http://askexpert.info/


No comments:

Post a Comment