English
Source / code snippets

CPU-manufacturers read (XProfan X4-Assembler)

 

p.specht

AMD- and INTEL-Befehlssätze voices sometimes not überein, it existing but always a joint intersection. wants one Spezialbefehle the jeweiligen manufacturers benefit, must one whom first once detect. the power the following Prog. for X4-Interpreter; though How always without Gewähr:
Window Title "Wer is the processor-manufacturers?"
Window Style 24:CLS
ASM "HERSTELLER",1
MOV eax, 0' it to the manufacturers quizzed go
'  CPUID               ' CPUID-commands perform
DW $a20f' or db $0f:db $a2
MOV ESI,EBX' EBI-EDI-ECI include now 12 ASCII-characters
MOV EDI,EDX' for the filing are [ESI+EDI] not as Pointer
MOV EBX,par1' suitable, therefore watts "umgegriffen".
MOV EDX,0
MOV [EBX+EDX],ESI
ADD EDX,4
MOV [EBX+EDX],EDI
ADD EDX,4
MOV [EBX+EDX],ECX
MOV EAX,par1' outputted would here theoretsich The Ablagestring-address
ENDASM
Declare manufacturers$:manufacturers$=mkstr$("?",12)+"\z"'12 characters + Abschluss-zero
HERSTELLER(Addr(manufacturers$))
locate 4,4:print "Der manufacturers this Prozessors is: ";
font 2:print manufacturers$
Waitinput 8000
End
 
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
05/26/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.407 Views

Themeninformationen

this Topic has 1 subscriber:

p.specht (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie