From: David L. <ds...@l8...> - 2005-02-25 20:53:13
|
> Hi, > I have good news; > I have found the instruction that caused the problem in memory location > 0x104d3 > the instruction is : add byte ptr ds:[bx+si], al ; 0000 > 1000:04c3 lgdt [ds:0xc88] ; 0f0116880c > 1000:04c8 mov eax, cr0 ; 0f20c0 > 1000:04cb or al, 0x1 ; 0c01 > 1000:04cd mov cr0, eax ; 0f22c0 > 1000:000004d0 mov ax, 0x10 ; b81000 > 1000:000004d3 add byte ptr ds:[bx+si], al ; 0000 > 1000:000004d5 mov ds, ax ; 8ed8 > 1000:000004d7 mov es, ax ; 8ec0 The problem is that the code is 32bit, but you are executing it in 16bit mode. The two 0x00 bytes are actually part of the 0x10 constant in the instruction before. David -- David Laight: da...@l8... |