參數(shù)資料
型號: 20726
英文描述: 3DNow!? Technology Manual AMD-K6 Processor Multimedia Technology
中文描述: 3DNow!?技術手冊的AMD - K6處理器多媒體技術
文件頁數(shù): 16/120頁
文件大?。?/td> 1284K
代理商: 20726
10
Programming Considerations
AMD-K6 MMX Enhanced Processor Multimedia Technology
20726D/0—January 2000
Preliminary Information
pushfd
pop
mov
xor
push
popfd
pushfd
pop
cmp
jz
; save EFLAGS
; store EFLAGS in EAX
; save in EBX for later testing
; toggle bit 21
; put to stack
; save changed EAX to EFLAGS
; push EFLAGS to TOS
; store EFLAGS in EAX
; see if bit 21 has changed
; if no change, no CPUID
eax
ebx, eax
eax, 00200000h
eax
eax
eax, ebx
NO_CPUID
If the processor supports the CPUID instruction, the
programmer must execute the standard function, EAX=0. The
CPUID function returns a 12-character string that identifies the
processor’s vendor. For AMD processors, standard function 0
returns a vendor string of “Authentic AMD”. This string
requires the software to follow the AMD definitions for
subsequent CPUID functions and the values returned for those
functions.
The next step is for the programmer to determine if MMX
instructions are supported. Function 1 of the CPUID
instruction provides this information. Function 1 (EAX=1) of
the AMD CPUID instruction returns the feature bits in the EDX
register. If bit 23 in the EDX register is set to 1, MMX
instructions are supported. The following code sample shows
how to test for MMX instruction support.
mov
CPUID
test
jnz
eax,1
; setup function 1
; call the function
; test 23rd bit
; multimedia technology supported
edx, 800000
YES_MM
Alternatively, the extended function 1 (EAX=8000_0001h) can
be used to determine if MMX instructions are supported.
mov
CPUID
test
jnz
eax,8000_0001h
; setup extended function 1
; call the function
; test 23rd bit
; multimedia technology supported
edx, 800000
YES_MM
相關PDF資料
PDF描述
20736 Enhanced Am486DX Family Data Sheet? 1.87MB (PDF)
2075 data delay devices
208-501-21-38 LED TELEFONSOCKEL T6.8 12V ROT
208-521-21-38 LED TELEFONSOCKEL T6.8 12V GELB
208-532-21-38 LED TELEFONSOCKEL T6.8 12V GRUEN
相關代理商/技術參數(shù)
參數(shù)描述
20727 制造商:Schneider Electric 功能描述:CIRCUIT BREAKER DECLIC 20A 制造商:Schneider Electric 功能描述:CIRCUIT BREAKER 1 POLE + NEUTRAL 20 A
20728 制造商:Schneider Electric 功能描述:CIRCUIT BREAKER 1 POLE + NEUTRAL 25 A
207289-000 制造商:TE Connectivity 功能描述:CE-14-06000-P-ABRAS-WHEEL 制造商:TE Connectivity 功能描述:CE-14-06000-P-ABRAS-WHEEL - Bulk
20729 制造商:Schneider Electric 功能描述:CIRCUIT BREAKER DECLIC 32A 制造商:Schneider Electric 功能描述:CIRCUIT BREAKER 1 POLE + NEUTRAL 32 A
207292-1 功能描述:標準環(huán)形連接器 CPC RECP 17-16 RoHS:否 制造商:Hirose Connector 系列:EM-W 產品類型:Accessories 位置/觸點數(shù)量:1 觸點類型: 觸點電鍍: 安裝風格:Cable 外殼材質: 端接類型:Clamp 電壓額定值: