MASM and Visual C

Started by
23 comments, last by nathany 23 years, 11 months ago
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.
Advertisement
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
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.
Stupid me, could have guessed!
Now also looking up MMX stuff...
Thanks,
Bas.
bstach: thanks for the infos.

nathany.com

This topic is closed to new replies.

Advertisement