Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • To be fair, the question title says "8086" not "x86". Upvoted anyway for the modern details, but CS base on boot was a lower address on older CPUs like 8086 where physical addresses were only 20 bits, presumably corresponding to the initial CS value since unreal mode was new with 286 or 386. The OP also mentions wanting to write an emulator for a "custom CPU", so their best bet would just be to have part of the address space act as ROM, that's by far the most simple thing. Commented Feb 5 at 7:01