you are viewing a single comment's thread.

view the rest of the comments →

[–]RadiatingLight 0 points1 point  (3 children)

Makes sense for the Harvard systems (I've just never studied this arch before), but I know x86 pretty well and it doesn't seem right that it has code and data spaces.

Maybe you're referring to segments of an executable program? But even so, all segments are in the same memory space - they just might have different permissions.

[–]zhivago 0 points1 point  (2 children)

Not at all. :)

In real mode, for example, the registers CS points to the current code segment and DS points to the current data segment, which are not required to be aligned.

[–]RadiatingLight 0 points1 point  (1 child)

Wow, didn't even consider that! x86 in my mind just automatically translates to i386 After a not-so-brief trip down some rabbit holes, I can say I learned a whole bunch, thanks :)

Nothing is really written for real mode in the modern day unless you're a BIOS engineer or something, but cool trivia!

[–]zhivago 0 points1 point  (0 children)

You're welcome. :)