4 ms·
Yes, a lot of these let's call them `assembler hacks' were true at one time in the x86 32 bit era but are probably not true now. Also, the x86 processor market
by igravious 11y ago
Yes, a lot of these let's call them `assembler hacks' were true at one time in the x86 32 bit era but are probably not true now. Also, the x86 processor market is quite big now from Pentiums and Core Ms and Core Is and AMD and god knows who else. There used to be assembler books that could teach you all this in the 32 bit era, do these exist for the 64 bit era. It's been a while since I did any low-level bit twiddling.
- _wmd 11y agoAgner Fog's PDFs are the closest thing I know of
- colejohnson66 11y agogcc generates lea instructions still because `lea eax [eax*5]' is a lot shorter than whatever the machine code for multiplying by 5 is.