• keywords volatile in an interrupt routine
    In this webpage : http://www.keil.com/support/man/docs/gsac/gsac_timer.htm The question is why two variables one use volatile but another not ?? The two variables is "TimeTick" and "clock_1s". Who...
  • How The sbit keyword works
    how can an sbit variable be assigned an address which is intrinsically assigned to something else. e.g will the following code work on an 8051? sfr SCON = 0x98; // declare SCON sbit SM0 = 0x9F;...
  • _at_ keyword
    Hello, We are using _at_ keyword to locate a variable at particular address. We declared the variable as per the description given in Help for the _at_ keyword. The declaration of variable we done...
  • _at_ keyword
    Hi all, How to use _at_ keyword? The varaibles are declared in onchip EEPROM space. (T89C51RD2) Regards.
  • volatile keyword
    The application note suggests to wrap a timer tick variable in a function which disables all interrupts, reads and copies the variable into a temp, re-enables interrupts, then returns the temp. Can...