• String functions in relocatable code, string is fixed in memory
    I have the following code: strcat(tbuf,"\r\nSH B = "); My program memory model is small so I can re-locate the code in any sector. Unfortunately "\r\nSH B = " is fixed at an absolute address. I can...
  • Return Pointer to local string, destroys the string or not?
    This forum may not be the best to ask the question, but the answers on the other forums (that i know) were generally with respect to C for desktop pc (where memory management is different from that in...
  • Return Pointer to local string, destroys the string or not?
    This forum may not be the best to ask the question, but the answers on the other forums (that i know) were generally with respect to C for desktop pc (where memory management is different from that in...
  • String functions in relocatable code, string is fixed in memory
    I have the following code: strcat(tbuf,"\r\nSH B = "); My program memory model is small so I can re-locate the code in any sector. Unfortunately "\r\nSH B = " is fixed at an absolute address. I can...
  • STRINGS
    iam working with cygnal microcontrollers c8051f124,we are generating our own protocol using pwm . i have actually implemented my project in 2 phases,1in c and another in assembly. in the c file iam...