• Absolute Variable location problem
    I have the following code: volatile BYTE xdata RxQueue[RX_MAX_QUEUE] _at_ MEM_RXQUEUE; both RX_MAX_QUEUE and MEM_RXQUEUE is defined as constants. but I get an error: *** ERROR C129 IN...
  • Problem initializing global variables
    Hello! I'm using a AT89c51RC Controller for my application. When I define global variables with an initial value, they are not always initialized correctly. Example: signed int test...
  • Problem with static variable in the functions.
    Hi all. The source C file is... ============================= void a(void) { static unsigned char var1; ... switch(var1){ ... } } ============================== and the error message...
  • Strange problem with variable
    HI all. I am developing a programm with the demo version of the keill compiler.The µ-Controller is a cygnal 8051(c8051f124). I have faced a very strange behavior: int Pack_Counter=0; ... if(Pack_Counter...
  • 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... ...