intel.h

来自「c语言库函数!里面包含了所以c语言中的系统函数的实现及其详细说明和代码!请大家及」· C头文件 代码 · 共 35 行

H
35
字号
/* +++Date last modified: 05-Jul-1997 */

/*
**  SNIPPETS functions for Intel CPUs and NDP's
*/

#ifndef INTEL__H
#define INTEL__H

#include "sniptype.h"         /* For True_ and False_                   */
#include "extkword.h"         /* For CDECL                              */

int CDECL cpu_ID(void);       /* Returns: AL - CPU family
                                               0 = 8086/8088
                                               1 = 80186
                                               2 = 80286
                                               3 = 80386
                                               4 = 80486
                                               5 = Pentium
                                               6 = Pentium Plus
                                          AH - Features bitmap
                                               01h = Has coprocessor
                                               02h = Is 386/287
                                               04h = Is 386SX
                                               08h = Is Cyrix
                                               10h = Is NEC
                                               20h = Is NexGen
                                               40h = is AMD
                                               80h = Is UMC             */

extern CDECL save_8087(void);       /* Save coprocessor environment     */
extern CDECL restore_8087(void);    /* Restore coprocessor environment  */

#endif /* INTEL__H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?