Get the Contents of EIP and CR1 in Real Mode
Posted: Fri Aug 20, 2004 5:47 am
Hey,
Just as the topic says, I need get the contents of EIP and CR1 so that my error handler can print up the state of the machine, I am currently in real mode but it is probably the same no matter what mode your in.
I have tried
and I have also tried
But neither way works??
Cheers.
Just as the topic says, I need get the contents of EIP and CR1 so that my error handler can print up the state of the machine, I am currently in real mode but it is probably the same no matter what mode your in.
I have tried
Code: Select all
mov eax, eip/cr1
Code: Select all
push eip/cr1
pop eax
Cheers.