• Having multiple different segments for the constants in a single module
    Hi, I have multiple arrays of function pointers (say arr1[] and arr2[]) in a module (say mod1). Some functions in arr1[] is calling a function (say func_a()), which is calling some functions...
  • put const variables into code-segment
    Hi. I want to put a (large) table of constant values into the code-segment, because I'm very low on RAM but have plenty of program-ROM. The C51-manual on page 88 says "Constant variables may also...
  • const placed in DATA segment
    Hi All, when I write: const char mysting[] ={"my string"}; data are placed to DATA segment, not code sement. I know if it would be written like this: code char mysting[] ={"my string"}; data...
  • Tracing through multiple source files
    My team and I are working on a project programming about 40 different units that all use the same serial communication protocol. I'm currently using uVision3, but we have purchased uVision4, and it should...
  • eorror of multiple call to segment
    Hi, The compile error is: WARNING L15: MULTIPLE CALL TO SEGMENT SEGMENT: ?PR?_STRTONUM?PARSE CALLER1: ?PR?TC0?PERIPHERAL CALLER2: ?C_C51STARTUP The callers TC0 is an ISR using reg bank 2 and...