• String initialization in xdata
    Hi I am trying to save some code sapce I used the STRING (XDATA) direcitve to move my constant string to xdata ,I also set my XCONST segment to 0x8000-0x8ffff. I notice that my code size is smaller...
  • string constants in XDATA
    Hi, In an attempt to free some code space, I'm looking at a couple of options; a) preventing the compiler from automatically placing all string constants in the common code area (regardless of in...
  • #pragma STRING(XDATA) fatal-error
    I am having the problem that my program now uses 32kb which means the memory is full. void print(char *x) { while(*x) { SerialWrite(*x++);} } SerialWrite looks like: void SerialWrite(unsigned...
  • 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...
  • XDATA
    Is it possible to access particular bit in xdata memory space without changig other bits' values (eg using ^).