Re:Intel x86 documentation has more pages than the 6502 has ...
by 72deluxe on Thursday December 08, 2016 @05:34AM
(#13129522)
Fascinating. Where do you learn this stuff? Any recommended reading you can point me to as a complete novice with regard to CPU architecture?
[ Parent
| on HN ]
Re:Intel x86 documentation has more pages than the 6502 has ...
by qb45 on Thursday December 08, 2016 @08:01AM
(#13130006)
That's somewhat hard to answer because I've been accumulating knowledge from many sources over many years, and it started with some dead-tree book from the '90s :)
Maybe Agner's site, in particular his microarchitecture manual, would be a reasonable place to start:
http://www.agner.org/optimize/
There are "software optimization manuals" from CPU vendors, but these may not be particularly novice-friendly. I think I've used Wikipedia at times for general CPU-agnostic concepts, though it has a tendency to use jargon with tittle explanation. Occasionally somebody submits something to HN.
On the lowest level, it may be helpful to know some simple digital circuits (decoders, multiplexers, adders, flip-flops, ...?) just to have an idea of what kind of things can be done in hardware.