This article title should have "(2004)" added; this is seriously old information.<p>For modern use, something about ARM CPUs would be much more useful since that's what microcontrollers all use now. No one's doing ASM programming on x86 CPUs these days (and certainly not Pentium4 CPUs).
A fascinating peek into the fairly deep past (sigh) is Abrash's The Zen of Assembly language. Time pretty much overtook a planned Volume 2 but the Volume 1 is still a pretty fascinating read for a time when tweaking optimization for pre-fetch queues and the like was still a thing.
> (Intermediate)1. Adding to memory faster than adding memory to a register<p>I'm not familiar with Pentium but my guess is that memory store is relatively cheaper than load in many modern (out-of-order) microarchitectures.<p>> (Intermediate)14. Parallelization.<p>I feel like this is where compilers come into handy, because juggling critical paths and resource pressures at the same time sounds like a nightmare to me<p>> (Advanced)4. Interleaving 2 loops out of sync<p>Software pipelining!
> If you have a full 32-bit number and you need to divide, you can simply do a multiply and take the top 32-bit half as the result.<p>Can someone explain how this can work? Obviously, you can't just multiply the same numbers instead of dividing.