The x86 architecture is the weirdo, part 2 (2022)
devblogs.microsoft.com
devblogs.microsoft.com
One weirdness I've hated is the layout of interrupt and segment descriptors. For interrupts the address is broken into a lower and upper half on either end of the structure, not ideal but workable. Segments on the other has 3 different places for the base and 2 different places for the 2.5 byte limit.
It's insanity to try and build the descriptors.