- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved afterchanging16-bit register names to 32-bit register names.
Thanks to all.
Thanks to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vladimir-
I'm glad you have your problem solved. Thanks for sharing your solution.
I'm glad you have your problem solved. Thanks for sharing your solution.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page