home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
b
/
bootp.zip
/
PRINTA.C
< prev
next >
Wrap
Text File
|
1986-09-27
|
256b
|
12 lines
printa( ddbyte, chars )
unsigned long ddbyte;
int chars;
{
int i;
static char hexchars[] = { "0123456789ABCDEF" };
for( i=(chars-1); i>=0; i-- )
pchar( hexchars[ ( ( ddbyte >> (i*4) ) & 0x0fl ) ] );
}