os-tutorial
os-tutorial copied to clipboard
Segment registers aren't cleared when you get code execution.
The segment registers are not cleared in real mode on the first few instructions, this should be done because in real mode a lot of memory access is segment based, and if you don't clear the segment registers, bad things could happen.