CPUID - Calling CPUID

Calling CPUID

In assembly language the CPUID instruction takes no parameters as CPUID implicitly uses the EAX register. The EAX register should be loaded with a value specifying what information to return. CPUID should be called with EAX = 0 first, as this will return the highest calling parameter that the CPU supports. To obtain extended function information CPUID should be called with bit 31 of EAX set. To determine the highest extended function calling parameter, call CPUID with EAX = 80000000h.

Read more about this topic:  CPUID

Famous quotes containing the word calling:

    I introduced her to Elena, and in that life-quickening atmosphere of a big railway station where everything is something trembling on the brink of something else, thus to be clutched and cherished, the exchange of a few words was enough to enable two totally dissimilar women to start calling each other by their pet names the very next time they met.
    Vladimir Nabokov (1899–1977)