Results 1 to 10 of 599

Thread: SAPP

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,126

    Re: SAPP

    Quote Originally Posted by Patrickssj6 View Post
    This is not about the performance but it does look a lot tidier.
    Beauty is in the eye of the beholder. This is an issue of properly documenting the engine function and how you're interfacing with it. Not using inline assembly allows the compiler to add instructions of it's own. It is really unwise to mix asm blocks with C code. You leave the compiler to do pretty much whatever it wants to the resulting output asm. It's why I write explicit function wrappers in OS, and use __declspec(naked) where appropriate.

    e: When interfacing with blackbox software which has no code documentation, it is far better to be explicit in your source, especially if others are suppose to look at it and/or grok what is going on.
    Last edited by Kornman00; September 22nd, 2011 at 06:02 PM.

Thread Information

Users Browsing this Thread

There are currently 33 users browsing this thread. (0 members and 33 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •