Re:IBM PC 8088 replaced with a Motorola 68000
by mordechai9000 on Friday May 12, 2023 @02:43PM
(#35920404)
They figured out how to use 16 bits of register space to represent a 12 bit memory address. I understand there were reasons for doing it this way, but it was painful.
[ Parent
| on HN ]
20 bit but yes :-) It was doubtless a clever hack given the constraints they were operating under but still a pain for real mode assembly programming, especially if it was memory constrained. At one point I needed to separate out code from in-memory data store for a DOS file manager to support larger directory sizes and the segment register switching got really ugly.
Re:IBM PC 8088 replaced with a Motorola 68000
by mordechai9000 on Friday May 12, 2023 @03:49PM
(#35921381)
Yes! Thank you, it used two 16 bit registers to represent a 20 bit address