Re: Best X86 assembler for Unix?
- From: dave <spamtrap@xxxxxxxxxx>
- Date: Mon, 23 Oct 2006 08:50:54 -0500
Frank Kotler <spamtrap@xxxxxxxxxx> wrote:
dave wrote:
I am a very experienced, but rusty x86 assembly programmer
with a new AM2 Athlon64 chip that I want to code for in 64-bit
mode. Is there an alternative assembler to (G)AS for Athlon 64
that anyone can recommend? (I checked out nasm, but the one I
downloaded had no reg defs for AMD's new registers. I'm running
64-bit OpenBSD).
Fasm:
http://flatassembler.net/download.php
Or Yasm:
http://www.tortall.net/projects/yasm
Note that (G)as has got an ".intel_syntax" option that you also might like.
Best,
Frank
Yasm is now built and running as a 64-bit program on OpenBSD 3.9.
I have linked a test yasm program with a C test program.
The program aborts with a segfault when the first assembly instruction
is executed. Gcc disassembles the code ok, so I think the problem is
incorrect section attributes (currently just .text) for the yasm
assembly code. Anyone know what I'm still missing?
Thanks,
Dave Feustel
.
- References:
- Best X86 assembler for Unix?
- From: dave
- Re: Best X86 assembler for Unix?
- From: Frank Kotler
- Best X86 assembler for Unix?
- Prev by Date: Yasm Label question
- Next by Date: Boot sector problems...
- Previous by thread: Re: Best X86 assembler for Unix?
- Next by thread: How interrupts work (x86 vs. C64)
- Index(es):
Relevant Pages
|