Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPUID?

Status
Not open for further replies.

AlenM

Programmer
Joined
Feb 17, 2002
Messages
1
Location
US
I know when i call CPUID with 0 in eax, i get the vendor string in ebx:edx:ecx. My question is how do i push these strings (from the registers) into one local string?
 
Local string: as in HLL procedure 'local' string? Asm file module 'local' string?

Just mov them in place:

mov dword ptr localstring[0],ecx
mov dword ptr localstring[4],edx
mov dword ptr localstring[8],ebx
mov localstring[9],0 ;terminating zero
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
 
Status
Not open for further replies.

Similar threads

Replies
1
Views
120

Part and Inventory Search

Sponsor

Back
Top