| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Assembly Questions and Answers for Assembly here! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
assembly source files
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! |
|
#2
|
||||
|
||||
|
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.
__________________
Visit my page: http://usuarios.lycos.es/hernandp and my blog... http://hernandp.blogspot.com |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|