Asm + C++

This is a discussion on Asm + C++ within the C++ Programming forums, part of the General Programming Boards category; I use TASM, MASM and NASM. The only one I stay away from is that blasted AT&T assembly syntax used ...

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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
    Posts
    3,230
    >>The only one I stay away from is that blasted AT&T assembly syntax

    I can't imagine why...it'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
    Location
    Seattle, WA
    Posts
    1,972
    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."
    -XSquared

Page 2 of 2 FirstFirst 12
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 Cprogramming.com
    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, 01:42 AM
  4. asm mov
    By manu in forum C++ Programming
    Replies: 1
    Last Post: 12-15-2001, 11:59 AM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21