I have a 64 bit AMD processor on which a 32 bit Windows Server Operating system is installed.

Now i have to get programmatically, whether i have a 32 bit or 64 bit processor installed in the system.

I tried using Windows WMI but it returns same result for both 32 bit and 64 bit processor with the same 32 bit OS installed on it.

Is there any other way [Assembly programming etc.] to know the "bits" of the Processor.