-
VC++ 6 & MASM (eek)
Some people cringe at the thought.
Basically, I've hunted around, and installed visual studio service pack 5 - I know 6 is available, but I need 5 so I can install the processor pack thus obtaining MASM.
What I want to do is write a procedure in assembly, and custom build it with masm from the vc++ IDE. Obvisouly I also want to link it in.
I know this much:
The procedure in question must be declared 'extern "C" <identifier>' ?
It must be declared public in the MASM source.
If anyone know how, or knows of any *good* tutorials I would be grateful. Eternally. Also I'm looking for a *good* MASM tutorial. I know the basics of assembly but not the MASM syntax.
-
I strongly urge you to (after learning masm syntax, so your flexible) get fasm, once you learn both you'll know why.
I don't know of any tutorials, and I haven't done it in a while, but declare your procedure with an underscore, then the name: _procName
Then declare it extern in your C code and supply the prototype and link it.
EDIT:
some useful pages
http://win32assembly.online.fr/
http://www.arl.wustl.edu/~lockwood/c...ofasm/toc.html
http://www.intel.com/design/pentium4.../index_new.htm
-
Cheers I'll give it a bash.