• problem with A51 OVERLAYABLE
    the line ?PR?SignMemRel?USXASM SEGMENT CODE OVERLAYABLE gives *** ERROR #26 IN 27 (USXASM.A51, LINE 21): BAD RELOCATION TYPE I have read the info in both the A51 and C51 manuals and do not see why...
  • Sharing data and overlayable segments
    I'm using the Keil C51 Tools and have successfully written 8051 programs only in assembly language. Now I need add C code to my assembly program. After the i add C code to my assembly code Keil C51...
  • use local variable(overlayable data segment) in assembly language
    i write a test program, i want to use a local variable in a assembly language. if i use c language,local variable can be overlayable,but use assembly language,it cannot pass. The overlayable segment...
  • Absolute Variable location problem
    I have the following code: volatile BYTE xdata RxQueue[RX_MAX_QUEUE] _at_ MEM_RXQUEUE; both RX_MAX_QUEUE and MEM_RXQUEUE is defined as constants. but I get an error: *** ERROR C129 IN...
  • Problem initializing global variables
    Hello! I'm using a AT89c51RC Controller for my application. When I define global variables with an initial value, they are not always initialized correctly. Example: signed int test...