This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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 in ECODE. Is there a way to force functions into CODE so that the compiler will use LCALL instead of ECALL to the functions?

Thanks in advance.