4 ms·
Weird title for a book on assembly - for x64 - on Windows - using MASM There are other 64-bit OSes, CPUs and assemblers for them, and people do use them.
by Someone 2mo ago
Weird title for a book on assembly
- for x64
- on Windows
- using MASM
There are other 64-bit OSes, CPUs and assemblers for them, and people do use them.
- Retr0id 2mo agoIf you're actually writing software in assembly (as opposed to merely optimizing hot functions in an otherwise high-level codebase), in my experience MASM is the most pleasant tool for the job.
- b5n 2mo agoThe most pleasant is the one you're most familiar with. I still use gas with at&t syntax.
- adrian_b 2mo agoMASM was a decent assembler, but it also had some syntax choices that lead to excessive verbosity. In any case, today nasm is mostly equivalent with it, if not better, while being kept much more up-to-date with the Intel-AMD ISA extensions.
- not_a9 2mo agoOut of idle curiosity: can NASM emit Windows unwind information? For the matter, can any assembler do so automatically?
- deleted 2mo ago[deleted]
- leoc 2mo agoIt's the result of seeking to maintain consistency with the titles of the previous books in the series. And while the platform coverage this time is very narrow, any book on assembly in general is going to have to pick some specific platforms and hope that the reader will be able to transfer the skills acquired to others as necessary.
- agarren 2mo agoWhat a weird, low-effort comment. Randell’s got another (large) book on ARM assembly. He’s also got a handful of other great books on software engineering in general - he’s more than aware that “there are other 64-bit OSes, CPUs and assemblers for them, and people do use them.” This particular title, “the art of assembly” has been around for a while. This x64 version is the latest iteration - it’s a great book compared to the previous version which introduced and focused on “high-level-assembly”, basically a collection of masm macros that effectively constituted a small language. It’s fair to say that anyone even remotely interested on x86/64 assembly is aware of AoA.
- anta40 2mo agoYou mean this: https://www.amazon.com/Art-ARM-Assembly-Randall-Hyde/dp/1718502826 https://www.amazon.com/Art-ARM-Assembly-Randall-Hyde/dp/1718... ? Mmm nice. Will give it a try since ARM-based Mac is my main working environment nowadays.
- rramadass 2mo agoYou might also want to checkout the Assembly books by Larry Pyeatt (ARM only) and Daniel Kusswurm (x86 + ARM). Another excellent classic which you should checkout if you are interested in all things ARM is ARM System Developer's Guide: Designing and Optimizing System Software by Sloss, Symes and Wright. It is old and so does not cover newer ARM architectures but will give you a solid foundation for system programming.
- anta40 2mo agoMr Kusswurm's x86 book is excellent. Didn't know he also write on for ARM. Thank you!
- rramadass 2mo agoYou are quite right. Anybody who is even cursorily interested in Assembly Programming knows of Randall Hyde and his works since he has been at it since the 16-bit days. One of the few authors with truly great depth. Makes me think that most people commenting here know nothing about assembly and are simply posting empty comments for the heck of it. This has been a trend on HN lately of similar meaningless/useless comments on any topic.
- anta40 2mo agoNot exactly weird... I mean x64 Windows is still pretty popular. And pretty much any Windows dev will have Visual Studio installed (to get MASM). Unless, you want to use open source MASM-compatible assemblers like JWASM or UASM. Yes I understand, other folks may prefer Linux/BSD, NASM/FASM, ARM etc etc.