intel.h

来自「国外网站上的一些精典的C程序」· C头文件 代码 · 共 33 行

H
33 行
字号
/***  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 + -
显示快捷键?