windows

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ windows ] in KIDS
글 쓴 이(By): madjean (발에쥐난쥐)
날 짜 (Date): 2001년 8월  2일 목요일 오후 10시 01분 08초
제 목(Title): Re: [급질]PC의 CPU_ID및 MAC_Add 확인 방�


MAC은 잘 모르겠구요.

cpuid는 inline assembly에서 'cpuid'라는 instruction이 있습니다.
(developer.intel.com에서 3개짜리 developer manual중 vol2를 참조하세요.
물론 intel cpu manual이니, cpuid에 대한 opcode는 같지만,
출력값에서 AMD등은 따로 구하셔야 됩니다.)

cpuid는 아주 광범히 한데, 그중 대표적인 family, model, stepping id는

eax값에 따라 출력이 되니 적당한 입력값을 정하는게 중요하겠지요.

만약 저버전의 컴파일러나 어셈블러라면 0f a2의 opcode를 define하시면 되겠구요.

----w-w----
   ( " )
   (O O)   what we call human nature in actuality
    v-v    is human habit
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.