Jump to content

Which assembler do you recommend?

- - - - -

  • Please log in to reply
9 replies to this topic

#1
charles-eng

charles-eng

    Learning Programmer

  • Members
  • PipPipPip
  • 39 posts
Hi, I'm looking for an assembler that can generate x64 machine code, which one would you recommend?

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
I'd recommend NASM.
Latinamne loqueris?

#3
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Same. It's free, cross-platform, has an absurdly powerful preprocessor, and comes with a number of tools to make your life easier.
sudo rm -rf /

#4
Sysop_fb

Sysop_fb

    Programmer

  • Members
  • PipPipPipPip
  • 160 posts
  • Location:Missouri
I recommend what they both recommended. Been using NASM for many years now.
"The best optimizer is between your ears" - Michael Abrash
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.

#5
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,252 posts
  • Location:C:\Countries\US
NASM is a good one that can be used for both cross-platform executable and flat-form binary development.

#6
freiza

freiza

    Learning Programmer

  • Members
  • PipPipPip
  • 54 posts
If your target Operating system is windows. Go for Masm.
Coz there are plenty of useful tutorial out there (Ex:- Iczelion). And there is a great ide for it too. (Ex:- WinAsm Studio.)

#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
I'm sure there are just as many tutorials for NASM, plus configurable IDE's that can handle multiple flavors of assembly syntax.
sudo rm -rf /

#8
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,252 posts
  • Location:C:\Countries\US
One of the OP's (original poster's?) questions(?) was that it needs to be able to do 64-bit code; MASM is 16-bit, or - in case of MASM32 and Iczelion tutorials - 32-bit.

#9
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
MASM for x64 (ml64.exe)

It's somewhat inefficient though and it can't support all features of Intel's ASM. Doesn't look like there's support for IA64 either.
sudo rm -rf /

#10
Gunner

Gunner

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
Yeah, MS got rid of many of the high level stuff for ml64, but there is a better alternative - JWASM




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users