• Force function to be in CODE instead of ECODE
    Hi, I've configured the memory model to HUGE and I have more than 64kb ROM space. I'm working on a project using C compiler. I noticed that if I declare the ECODE class, all functions will be placed...
  • Force a function to not use xdata
    I have a function that uses xdata in one of it's helper functions. How do I prevent it from doing so?
  • HOW TO FORCE C51 TO COMPILE ALL FUNCTIONS REENTRANT
    Hi, Do you know a way to tell the compiler (via #pragma or similar) all functions in the C file must be reentrant? I am using a source library running in several micros and I would not like to maintain...
  • uv2 - ds80c400 - code/ecode/const/hconst cosntant arrays
    I am having a bit of a problem with constant arrays on the ds80c400 i.e. char y[] = {1,2,3,4}; Note: the ds80c400 has a 16M contiguous memory map. example 1: in the following code the array is...
  • User defined memory space
    Hi all, I'm asking if anyone has found a better way to access user defined memory. That is, accessing memory that can't be reached w/the "movx" instruction, but must be accessed w/user code. I...