MASM and Visual C
386s did not have the instruction at all. Some of the later 486s did have the instruction (486 DX2 and later I think). If you use cpuid you should make your program''s minimum requirements a Pentium CPU. AMD and Cyrix Pentium compatible CPU''s will also support the cpuid instruction.
The last time I coded asm was in Pentium I code.
Thought I knew every instruction then... (incl. RDTSC)
Where did you find this instruction, are there more of these "tricks?".
Respect,
Bas
Thought I knew every instruction then... (incl. RDTSC)
Where did you find this instruction, are there more of these "tricks?".
Respect,
Bas
The cpuid instruction is in the Intel Architecture Instruction Reference Manual. You can find the manual as an Adobe Acrobat file at http://developer.intel.com/design/pentiumii/manuals/243191.htm
Almost all of the Intel Documentation is available online as Adobe Acrobat files.
Almost all of the Intel Documentation is available online as Adobe Acrobat files.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement