Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Say Hello to X64 Assembly Part 3. Parent comment
I started coding x86 Assembly back when MS-DOS 3.3 was modern in PC world, so never got to love AT&T syntax.
Specially after my porting experiment.
I needed to change a compiler backend to depend only on binutils (gas & ld).
So the existing NASM code had to ported.
NASM macros couldn't be mapped to what Gas offers and I also had some issues getting my head around how to write the addressing modes.
I was using a common trick for code generation.
Generate bytecodes that are actually Assembler macros.
A simple way to get static binaries, even if the performance is not optimal.
In the end I gave up and made the backend generate the respective Assembly code directly.
There are no comments on this comment yet.
I started coding x86 Assembly back when MS-DOS 3.3 was modern in PC world, so never got to love AT&T syntax.
Specially after my porting experiment.
I needed to change a compiler backend to depend only on binutils (gas & ld).
So the existing NASM code had to ported.
NASM macros couldn't be mapped to what Gas offers and I also had some issues getting my head around how to write the addressing modes.
I was using a common trick for code generation.
Generate bytecodes that are actually Assembler macros.
A simple way to get static binaries, even if the performance is not optimal.
In the end I gave up and made the backend generate the respective Assembly code directly.