Immediately after setting the PE flag, the initialization code must flush the processor's instruction prefetch queue by executing a JMP instruction. The 80386 fetches and decodes instructions and addresses before they are used; however, after a change into protected mode, the prefetched instruction information (which pertains to real-address mode) is no longer valid. A JMP forces the processor to discard the invalid information.
Chapter 10 -- Initialization
prev: 10.2 Software Initialization for Real-Address Mode
next: 10.4 Software Initialization for Protected Mode