home *** CD-ROM | disk | FTP | other *** search
/ POINT Software Programming / PPROG1.ISO / asm / cputype / cputype.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-01  |  225 b   |  17 lines

  1.  
  2. #include <stdio.h>
  3.  
  4. extern short cpu( void );
  5.  
  6.  
  7. main()
  8.  
  9.    {
  10.  
  11.       unsigned short TypeofCPU;
  12.  
  13.       TypeofCPU = cpu();
  14.       printf("This machine has an 80%d processor.\n\n", TypeofCPU );
  15.       return;
  16.  
  17.    }