The compilation of the real model and protection mode is a thousand differentiation, and there is a problem that the basic things have problems. The following is a ten
Run the normal class MEMSET block in real mode:
Mov AX, 55AA MOV CX, 6 LES DI, DEST CLD Rep Stosw How to get illegal instructions when they are portable, and finally see the probes of prawns, they found the positive sentence of LES.
The method is:
Mov Edi, DEST
I almost fainted in the spot, and later I thought about it, the ES in flat mode should be correct (SELECT with the process)
OR), after a LES, it is right. Serious thanks to John Robbins prawns (Matt Pietrek colleagues) book ("Debuging
Applications "), otherwise I may now be exhausted by Les.