Skip to content

Comment on Gentle Introduction to x86-64 Assemblyparent

Comments

and anybody who has written non-toy assembly knows GAS is a toy and a royal pain. GAS was designed to be fed the output of GCC, not handwritten. Support for opcodes has been lacking for ages, until NASM came along and put pressure on them. Let's not even compare the macros in intel-type assemblers to GASP, gasp!

Inline asm looks hideous with AT&T syntax; they had 20 years to copy Turbo C and they haven't yet.

P.S. I hope to god you're not calling your gas sources .S, as gcc will gobble it up or overwrite it if you have .c file with the same file name and you accidently -S.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.