• same constant in assembler and C
    I have a product where most is in C, but for speed reasons abt 2% is in assembler. A few constants are thus defined in 2 places <constants.h> #define VALUE 5 <constants.inc> $define VALUE 5 ...
  • Constant Strings
    I have several constant strings that I defined as follows: const u8 *Stringname = "StringContent"; At some stage if I add one more string, the uC stops working. I have more than enough code memory...
  • Constant variable
    I have declared around 15 variables as, code constant float var1 = 1.0; code constant float var2 = 3.5; . . . . when i see my file.m51 the file is showing these variables are located in xdata...
  • Constant folding
    HI I'm new to the tread. I found when using V7.06 constant folding does not appear to work the way I would expect. I would expect that both of these expressions would evaluate to the same answer...
  • constant placement
    Can I put ?CO?xxx on XDATA space using LX51 user segments "?CO?xxx (X:0x200)" thx all