Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5
İşlemcinin Markasını Öğrenmek
#1
Fonksiyonlar Bu kodlar Kendinize Göre ayarlayın işte 2q1dp42.gif

Kod:

Kod:
function GetVendorString: string;
  var
    aVendor: array[0..2] of DWord;
    iI, iJ : Integer;
  begin
    asm
      push  ebx
      xor   eax, eax
      dw    $A20F // CPUID instruction
      mov   DWord ptr aVendor, ebx
      mov   DWord ptr aVendor[+4], edx
      mov   DWord ptr aVendor[+8], ecx
      pop   ebx
    end;
    for iI := 0 to 2 do
      for iJ := 0 to 3 do
        Result := Result + Chr((aVendor[iI] and ($000000FF shl (iJ * 8))) shr (iJ * 8));
  end;
Ara
Cevapla }}}}


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 2 Ziyaretçi

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping