• 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 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 placement
    Can I put ?CO?xxx on XDATA space using LX51 user segments "?CO?xxx (X:0x200)" thx all
  • Bank For Constant
    Hi all I ve created a bank for constant using ?B_CB EQU 3 in the file L51IBANK.A51 and also put some modules to the same bank and I decide now to changing bank to these modules, and when...
  • 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...