• read string with sout
    Hi, How can I read a string from sout instead of a character? best regard
  • Memory Specific Pointer
    Hi. I m facing a problem regarding data reading from one memory to another via pointer. I am using LARGE memory model for ROM & RAM. I defined one function in idata as below: unsigned char func1...
  • Memory Specific Pointers
    Hello, I am delcaring some memory specific pointers using the examples on page 76 of the C51 Compiler Users Guide 01.97. unsigned char xdata * idata key Meaning a pointer in idata to a xdata unsigned...
  • 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...
  • want to read string & blank with scanf
    Hello to everyone, i would like to read strings with scanf. scanf("% s ",&text); My strings are normal spoken sentences. So there are blanks included in the string. Scanf terminates string...