Click to See Complete Forum and Search --> : assembly source files


marsh_pottaye
August 22nd, 2004, 10:33 AM
I know, this may look like a very basic problem, but don't know to solve it.
I know how to use __asm keyword to insert assembly instructions in C or C++ functions.
But my question is if it's possible to add "pure" assembly source files (.asm ?) to a Visual C++ project. If yes, how can I make calls from other C, C++ source files of the same project?

A simple sample project should be extremely useful and interesting for me.

Thank you very much!

indiocolifa
August 22nd, 2004, 04:19 PM
I think you can add .S or .ASM files to your project tree that' will be automatically compiled by MASM 7.x (in case of VC++ 2003).

Just google for the source code of Tenebrae (a QUake-modified engine) to see that.