English
Language : 

AM79C90 Datasheet, PDF (53/62 Pages) Advanced Micro Devices – CMOS Local Area Network Controller for Ethernet (C-LANCE)
ladrf[byte] |= (1 << (hashcode & 7));
printf (”hashcode = %d (decimal) ladrf[0:63] = ”, hashcode);
for (i=0; i<8; i++)
printf (”%02X ”, ladrf[i]);
printf (” (LSB first)\n”);
}
}
void updateCRC (int bit)
{
int j;
/* shift CRC and control bit (CRC[32]) */
for (j=32; j>0; j––) CRC[j] = CRC[j–1];
CRC[0] = 0;
/* If bit XOR (control bit) = 1, set CRC = CRC XOR polynomial. */
if (bit ^ CRC[32])
for (j=0; j<32; j++) CRC[j] ^= poly[j];
}
AMD
Am79C90
53