How do interrupts in wine work?

Ove Kaaven ovehk at ping.uio.no
Tue Feb 19 13:34:13 CST 2002


On Tue, 19 Feb 2002, Nog wrote:

> Ok, I have made some headway in this. I have confirmed that we have to 
> add on 2 to Eip. What that exception realy is, is that the program does 
> an LEA (Load Effective Address), and this aborts with a General 
> Protection fault probably because the address to the lea instruction is 
> invalid. How would one debug this?

This can't be, the processor doesn't validate the 'address' computed by
LEA. In fact, compilers frequently use LEA as a fast, purely mathematical,
integer multiply-accumulate instruction, for values that have no relation 
to addresses at all...





More information about the wine-devel mailing list