Bona Fide OS Developer
View unanswered posts | View active topics It is currently Tue Mar 19, 2024 2:51 am



Post new topic Reply to topic  [ 10 posts ] 
 Can someone suggest ASM compiler? 
Author Message

Joined: Mon Feb 08, 2010 12:20 pm
Posts: 12
Post Can someone suggest ASM compiler?
Can you please suggest ASM compiler, with whom I can compile x64 ASM codes and binary files. For training I just want to look at x64, but as far as I have seen, I've only came (found) across 16/32 bit compilers.

Thank you! :)


Sun Mar 28, 2010 3:56 pm
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post Re: Can someone suggest ASM compiler?
Netwide Assembler (NASM) and YASM all support elf64, and an x86_64 gcc-ld port can link to target the 64 bit environment.

_________________
Thank you for reading,

Kieran C G Foot


Mon Mar 29, 2010 6:47 am
Profile WWW

Joined: Wed Oct 14, 2009 9:39 am
Posts: 198
Location: United States
Post Re: Can someone suggest ASM compiler?
NASM...totally. I use nothing else.

_________________
Charles Timko
push %esp ;Musings of a computer addict


Wed Apr 21, 2010 10:14 am
Profile WWW

Joined: Tue Apr 20, 2010 9:08 am
Posts: 20
Post Re: Can someone suggest ASM compiler?
GNU as, of course, will work too.


Mon Apr 26, 2010 11:53 am
Profile

Joined: Tue Apr 20, 2010 1:39 pm
Posts: 17
Post Re: Can someone suggest ASM compiler?
nasm, it works for 16, 32 and icky 64 bit modes.


Mon Apr 26, 2010 5:16 pm
Profile

Joined: Wed Sep 01, 2010 4:15 pm
Posts: 2
Post Re: Can someone suggest ASM compiler?
GAS


Wed Sep 01, 2010 4:26 pm
Profile
Site Admin

Joined: Fri Jul 24, 2009 10:02 pm
Posts: 247
Location: Las Vegas, NV, US
Post Re: Can someone suggest ASM compiler?
I use NASM when I do any assembly. It's a great tool and it uses a familiar ASM syntax. I HATE AT&T ASM syntax(GNU as aka GAS uses AT&T syntax).


Sat Aug 20, 2011 4:47 pm
Profile
Site Admin

Joined: Sat Jul 25, 2009 7:44 am
Posts: 274
Location: United Kingdom
Post Re: Can someone suggest ASM compiler?
Doesn't GAS have a switch to use Intel Syntax Assembler?

_________________
Thank you for reading,

Kieran C G Foot


Wed Nov 23, 2011 11:18 am
Profile WWW

Joined: Mon Jan 14, 2013 4:21 pm
Posts: 2
Post Re: Can someone suggest ASM compiler?
I do suggest NASM, but if you don't use that, don't use FASM. FASM has been manipulated in so many ways with so many macros I have started to consider it "Wimpified" assembly. two examples: on most assemblers you decide what type of format you want when you "command-line" FASM lets you do this through your code. the other example is the good ol' windows messagebox. FASM "wimpifies" that with a macro :shock:

_________________
REAL programmers aren't afraid to use goto's


Mon Jan 14, 2013 4:37 pm
Profile
Site Admin

Joined: Fri Jul 24, 2009 10:02 pm
Posts: 247
Location: Las Vegas, NV, US
Post Re: Can someone suggest ASM compiler?
James_Parsons wrote:
I do suggest NASM, but if you don't use that, don't use FASM. FASM has been manipulated in so many ways with so many macros I have started to consider it "Wimpified" assembly. two examples: on most assemblers you decide what type of format you want when you "command-line" FASM lets you do this through your code. the other example is the good ol' windows messagebox. FASM "wimpifies" that with a macro :shock:


lol that's funny. I would think NASM is going to be the most popular among OS devers.

Side note, aren't macros supposed to make us programmers more efficient by requiring less manual labor?


Fri Feb 08, 2013 1:38 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.