Community
cancel
Showing results for 
Search instead for 
Did you mean: 
vovall
Beginner
61 Views

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

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
61 Views

Solved afterchanging16-bit register names to 32-bit register names.

Thanks to all.
Richard_B_Intel1
Employee
61 Views

Vladimir-

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