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

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

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Thanks to all.

Vladimir-

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today