Thread: Asm + C++

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    I use TASM, MASM and NASM. The only one I stay away from is that blasted AT&T assembly syntax used in DJGPP. NASM and DJGPP can get along anyways so using AT&T for inline asm has become a problem of the past.

    TASM is very good for creating functions because of the ARGS and LOCAL keywords. NASM is not so straightforward and you must push and pop everything off the stack yourself. I like all the assemblers but I must admit I use NASM more than the others.
    TASM and MASM also do some crazy stuff with their millions of macros - NASM is pretty much what you see is what you get in most instances.

  2. #17
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    >>The only one I stay away from is that blasted AT&T assembly syntax

    I can't imagine's so elegant .

    I can't really stand the millions of little "extras" in MASM, so I try not to use it whereever possible, and I've never used TASM (never succesfully got it to run, anyway).

    The only one I've ever really liked is NASM. Even that has its problems/annoyances.

  3. #18
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Seattle, WA
    Yeah, ok I guess I'll try NASM, since the first sample from the tutorial I looked at won't work...
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc asm code syntax
    By Uberapa in forum C Programming
    Replies: 4
    Last Post: 06-15-2007, 01:16 AM
  2. Understanding ASM
    By kuphryn in forum A Brief History of
    Replies: 26
    Last Post: 07-12-2002, 07:39 PM
  3. Inline asm
    By wavering in forum C Programming
    Replies: 2
    Last Post: 01-29-2002, 02:42 AM
  4. asm mov
    By manu in forum C++ Programming
    Replies: 1
    Last Post: 12-15-2001, 12:59 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM