• #define statements on variable declarations
    Hello. I am trying to find new and exciting ways to optimize (read: shrink down) my current code and want to include an eeprom autorefresh option to cut down on variables. Basically, when I have the...
  • the variable defination in code
    in the variable defination ,if there are too many variables defined as following unsigned char code *Iterm[]= { " 1. realstate ", " 2. chang time ", " 3. system configue", " 4. event record...
  • Using macros with variables declared on #define
    Any ideas why it's impossible to compile that simple code? #define AB_VALUES 2,3 #define Add(a,b) a+b void main(void) { int c; c = Add (AB_VALUES); }
  • about define control variable of AT89S8252
    How can I define variable about serial port communication I try to define as TH1 = 251; or TMOD = 0x20; ,it error (isn't correct). Is AT89S8252 know SCON variable?. .
  • determining if a variable is defined or not
    Hi, using one simple list, located in the external sdram device, the program is not able to figure out if the pItemNext from the list is defined or not... Therefore I always get an data abort error...