• large size of array defined in ROM
    It is a bank code project, total 16 banks and 512K byte extern rom. there are two large size of const arrays which both are larger than 10KByte. Using LX51 linker. I definded these two arrays as below...
  • size of reentrant stack of compact model
    The user manual of Cx51 describes that maximum size of reenterant stack in compact memory model is 256 Bytes . While in STARTUP.A51 sets its top to 0xFFFFh which is 64 KBytes. Can any body tell me what...
  • program halt when using interrupt + Compact code size + global variable
    Hi all: My chip is Cypress 68013 56pin. I am trying to use interrupt in my code. I also use a global variable to be interrupt indicator. The result is : program halt. I did some test and got...
  • xdata and compact memory model
    If I'm using the compact memory model, which implicitly sticks variables in xdata, but also declare a variable (in this case a char[]) to go in xdata, it appears to use the wrong pointer type. Thus, I...
  • MON51 and compact memory model
    When using compact reentrant functions and RTX51 I cannot see local variable and parameter values in the debugger using MON51...The values shown seem to be addresses instead of the values !?!