You can use a separate assembler program that will compile the complete assembler source files into object files. As long as you follow the correct calling conventions, you can provide prototypes for functions to use in the C ++ link along with the C ++ and ASM files.
I am using yasm . It uses intel syntax, supports x64 windows and VS2010 integration . It has useful macros and includes features. I must admit that I did not have to use it with VS2008, when the integration worked a little differently, but it should work well with VS2010.
source
share