• Problem Splitting Integer Variable
    hi everyone... i am facing a problem in my college project... i have a 16bit unsigned integer variable and i need to store it in the 24C02 EEPROM, but that saves 8bit variable at a time... ...
  • problem adding integer
    why result different? sample 1: unsigned int index; char getch() { while (!RI); RI = 0; return SBUF; } index = getch(); index += getch() * 0x0100; serial port received 2 bytes...
  • Integer overflow
    Hello to everyone. When I have to calculate the average of two integer numbers, first i have to add them. Sometimes an overflow occurs. One technique maybe to compare the result to one of the numbers...
  • 64 bit integers (uint64)
    Hi. Is it possible to use 64 bit integers in C51? Cheers Martin
  • Conversion of integer to ASCII for display
    I wish to display the contents of a variable, probably an unsigned integer, on an lcd display driven from the 8051. I have written software to accept an array of characters and write these, so the ideal...