home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC004.C
< prev
next >
Wrap
Text File
|
1988-04-10
|
525b
|
13 lines
/************************************************************************/
/* Get Feature bits from the external register */
/************************************************************************/
read_feature()
{
int feature;
feature = read_register(0x3C2); /* Get external register*/
feature = feature & 0x60; /* Mask feature bits off*/
printf("\nFeature bits are %x hex",feature);/* Print the value */
}