Comment on The Convoluted Way Intel’s 386 Implemented Its Registers
PhilipTheBucket@ponder.cat 1 week ago
I knew it, man.
I learned MIPS assembly first, and it was like the registers were all a baseball team, with everyone trained and doing their part to try to get the job done.
When I learned about x86 assembly it was like the registers were a tiny band of wacky misfits who were going around in a van trying to solve mysteries.
- Code segment: fine
- Data segment: It’s weird that you even do “segments” but fine
- Extra segment: …
- F segment: Please stop
- G segment: Stop it
paulh@lemmy.sdf.org 1 week ago
Fantastic description!
Z-80 was much the same: djnz uses C as the loop counter (like the 8086 LOOP used CX iirc), H and L combine to make a 16-bit pointer…