Intel® Business Client Software Development
Support for Intel® vPro™ software development and technologies associated with Intel vPro platforms.
1380 Discussions

Need to detect processor type - 'Intel or not' and nothing more

vovall
Beginner
261 Views
Need to detect processor type - 'Intel or not' andnothing more.
I take the cpuid3a.asm from intel cpuid pdf file and commet/uncomment the lines for 32 bit
segment.
But masm 6.15 (recomended in pdf file) compile with many errors like
... :error A2155: cannot use 16-bit register with a 32-bit address
Why?
And may be exist short asm kod for such simple task?

Thanks, Vladimir

0 Kudos
2 Replies
vovall
Beginner
261 Views
Solved afterchanging16-bit register names to 32-bit register names.

Thanks to all.
0 Kudos
Richard_B_Intel1
Employee
261 Views
Vladimir-

I'm glad you have your problem solved. Thanks for sharing your solution.
0 Kudos
Reply