[ros-kernel] Re: [ros-cvs] CVS Update: reactos- Supportof Matroxdisplay card

welch at boltblue.com welch at boltblue.com
Mon Mar 8 18:35:16 CET 2004


Quoting Waldo Alvarez Cañizares <wac at lab.matcom.uh.cu>:
>  
> hope you are David with a different e-mail -> welch at boltblue.com
> 
That's right.

> yes it was:
> 
> cmp 0x0, (%eax)
> 
> That is what it should print? The same value of cr2?
> If it is, how do I get the value of that address stored in eax?
> 
I don't understand the question: cr2 and eax will have the same value.
'(%eax)' means the dword in the location in memory pointed to by the contents
of eax. If the location isn't accessible then the processor stores its
address (=eax) in cr2 and traps to the operating system.

--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com



More information about the Ros-kernel mailing list