Hacker News new | ask | show | jobs
by TwoBit 3707 days ago
GCC inline assembly is one of the most terrible things I've ever had to work with. Somebody seriously need to redesign it or replace it. Aside from that,a decent reference manual for the existing version would be welcome.
1 comments

I'm working on a new language that has inline assembly and I pretty much just copied GCC's syntax[1]. Do you have any specific suggestions on how to do better?

[1]: https://github.com/andrewrk/zig/blob/master/std/linux_x86_64...