Monday, April 4, 2011

x86 real mode eip is 32bit

Imagine what would happen if we execute the last command of the 16bit segment so the IP of the next command would be 0x10000. Strange, but 16bit wrapping to zero doesn't ocuur and normally general protection exception is generated.

No comments:

Post a Comment