• 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...
  • HConst and Edata???
    I'm having a problem with my program running. It will run if I delete some of my varible declarations. If I look at he map file the Edata has about 1k in it and so does the Hconst. If I leave my declarations...
  • Ds80c400
    I'm writing code using keil uvision2 for the ds80c400(using the dstintm400 and dstinis400 boards)in order to process a reading from a simple sensor and then to transmit this data over the ethernet using...
  • Incorrect compiler behaviour for local HCONST arrays
    Keil C51 v7.20, 16MB contiguous mode for DS80C400. Why doesn't the following work? unsigned char LookUp(unsigned char x) { const unsigned char far lookups[]= { 1,2,3,4, ...etc... , 125,126...
  • how to force constants into hconst
    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...