[HN Gopher] Nasm - A cross-platform x86 assembler with an Intel-...
       ___________________________________________________________________
        
       Nasm - A cross-platform x86 assembler with an Intel-like syntax
        
       Author : maydemir
       Score  : 17 points
       Date   : 2022-01-26 09:00 UTC (1 days ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | mrlonglong wrote:
       | Fantastic tool for compiling x86 assembly code but I've grown to
       | like GNU gas and its at&t syntax. Which do you prefer?
        
       | b33j0r wrote:
       | As much as I like this, how is Nasm news? Fine. I have not done
       | enough assembly lately, fair enough.
       | 
       | More seriously, is anyone still doing this outside of edge
       | computing and embedded applications? Or... a hobby?
        
         | jetti wrote:
         | I'm starting to learn reverse engineering and while doing that
         | I have had to read a bunch of assembly but also write a small
         | amount too. I don't use NASM and am only writing a few
         | instructions at a time, mainly either updating an existing
         | instruction or replacing an instruction with one or more that
         | are the same size
        
         | melissalobos wrote:
         | I had to use a bit of assembly recently and chose nasm for it.
         | A client had an older piece of compiled code and wanted to be
         | able to use it on a modern machine. It was written in a
         | propriety language and compiled for a 32bit system. The
         | argument passing conventions used by the compiler were unusual.
         | So I wrote a bit of assembly in nasm to create a stub function
         | callable from C, it was really just moving things into the
         | right registers and some bits to the stack. So nothing really
         | being done in the asm. The hard part was figuring out the
         | calling convention.
         | 
         | Edit: Looking back it turns out that "recently" was 18 months
         | ago.
        
       ___________________________________________________________________
       (page generated 2022-01-27 23:01 UTC)