CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old August 22nd, 2004, 10:33 AM
    marsh_pottaye marsh_pottaye is offline
    Member
     
    Join Date: Oct 2003
    Location: Romania
    Posts: 127
    marsh_pottaye will become famous soon enough (80+)
    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!
    Reply With Quote
      #2    
    Old August 22nd, 2004, 04:19 PM
    indiocolifa's Avatar
    indiocolifa indiocolifa is offline
    Member +
     
    Join Date: Dec 2002
    Location: La Plata, Buenos Aires
    Posts: 604
    indiocolifa is on a distinguished road (30+)
    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
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:34 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009