Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unironically the NASM docs are AMAZING for this, and by far the best. https://www.nasm.us/xdoc/2.15.05/html/nasmdoc0.html .

For example for 64bit windows https://www.nasm.us/xdoc/2.15.05/html/nasmdo12.html#section-... .

There's also this for formats, this is windows for example. https://www.nasm.us/xdoc/2.15.05/html/nasmdoc8.html#section-...

For general systems programming/asm, AMD has REALLY well written documentation. Intel is better for edge cases and are more explicit. But when learning the explicitness makes it more complicated and AMD reads on the level of a regular person, not some 80 year old greybeard who writes asm in hex codes.



Thank you. But I was wondering if there is any reputable text book that I can read front to back that will give me a good overview with examples. Connecting ABI in relation to MSVC, GCC and System V as the sibling comment mentioned. I have use MASM before, and I am not sure if NASM manual contains what I am looking for - but I'll take a look.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: