Share

The Netwide Assembler

Code

Programming Languages: Assembly, C, Perl

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics git://nasm.git.sourceforge.net/gitroot/nasm/nasm (read-only)

Show:

What's happening?

  • Followup: RE: Assembler for windows?

    read the instructions at the top. after using nasm you'll have to call gcc to link the output with other operating system's code. if you dont have gcc download mingw.

    2009-11-15 15:15:23 UTC by nobody

  • Delegating %undef

    How can I delegate %undef? In the example below the assembler (called with "nasm.exe -t -f rdf q.asm") bemoans my code, displays "q.asm:19: error: interminable macro recursion" and hangs. ===q.asm=== bits 32 CPU P4 %macro my_def 2 %xdefine %1 esp+%2 %endmacro %macro my_undef 1 %undef %1 %endmacro global check_it check_it: my_def x,4 mov eax,[x].

    2009-11-12 13:47:03 UTC by jasper_neumann

  • Comment: imul reg,reg,imm32 defective

    I think it might be sensible to add some new test cases to test\imul.asm in order to test for the kind of bug described above. Possibly similar tests for other commands should be added as well.

    2009-11-12 13:09:39 UTC by jasper_neumann

  • Followup: RE: i need a book on nasm

    Well, Jeff Duntemann has just released the latest edition of "Assembly Language Step by Step"! http://www.duntemann.com Or there's Dr. Paul Carter's tutorial: http://www.drpaulcarter.com/pcasm And Nasm has a nice manual you can find at: http://www.nasm.us There may be more... Best, Frank.

    2009-11-07 11:31:32 UTC by fbkotler

  • i need a book on nasm

    tell me about the book available to study nasm.

    2009-11-07 03:40:24 UTC by nobody

  • Followup: RE: Ubuntu 9.10 issues

    First, I must commemorate you on your catch of my recent purchase. Adding the exit has made it work, which just make me feel silly for not trying it sooner. Thanks, :)

    2009-11-06 20:27:39 UTC by nobody

  • Followup: RE: Ubuntu 9.10 issues

    I am highly inexpert on gdb. I consider it "unfriendly". A quick test on your code seems to be "not stopping" on a breakpoint set at _start. If I put a label after the "nop" and set a breakpoint there (and another "nop" after it), instead of on "_start", it does seem to stop(?). I'd put an "exit" at the end of this, even if it's intended to only be run in a "sandbox" (although Jeff...

    2009-11-06 20:03:26 UTC by fbkotler

  • Ubuntu 9.10 issues

    It seems that my assembled application is crashing before it even gets to run any code, I say that because even when I have a breakpoint set on the first instruction if fails. This is only happening on my 9.10 box. Any advice from those with superior knowledge? ***$*** uname -a Linux msi 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux code: -.

    2009-11-06 17:05:47 UTC by nobody

  • Comment: imul reg,reg,imm32 defective

    This item has been resolved; the fix has been checked into git (http://repo.or.cz/w/nasm.git) and will be in the next release. You can usually also obtain a nightly snapshot at http://www.nasm.us/; the snapshot robot usually runs some time between 07:00 and 09:00 UTC, but sometimes runs immediately if there was no previous snapshot for today.

    2009-11-03 17:29:52 UTC by hpa

  • Comment: imul reg,reg,imm32 defective

    Unfortunately it was not correct. I've reverted the commit. Will inform as only issue get fixed.

    2009-11-01 07:40:17 UTC by nobody

Our Numbers