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

C compiler error: absrel out of range

Anyone familiar with the C51 compiler error as follows:

--- error: absrel out of range (l308, $=0X25 Targ=0X485)
--- error: absrel out of range (l355, $=0XC Targ=0XA0)
--- error: absrel out of range (l443, $=0X1C Targ=0XB1)
--- error: absrel out of range (l467, $=0X1F Targ=0XD7)
--- error: absrel out of range (l482, $=0X1C Targ=0XA6)

C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)

Strictly speaking, it doesn't stop the compilation but I wanted to know what the message means and if it will compile the code correctly. I couldn't find any reference to this searching the Keil website.

--
Regards,
Prasanth Kumar

Parents Reply Children
  • That was compiled with C51 v6.21. I reran it again with C51 v7.01 and get the following:

    *** ERROR C253 IN LINE 6471 OF MAIN.C: INTERNAL ERROR (BRANCH TARGET OUT OF RANGE)
    *** ERROR C253 IN LINE 6471 OF MAIN.C: INTERNAL ERROR (BRANCH TARGET OUT OF RANGE)
    *** ERROR C253 IN LINE 6471 OF MAIN.C: INTERNAL ERROR (BRANCH TARGET OUT OF RANGE)
    *** ERROR C253 IN LINE 6471 OF MAIN.C: INTERNAL ERROR (BRANCH TARGET OUT OF RANGE)
    *** ERROR C253 IN LINE 6471 OF MAIN.C: INTERNAL ERROR (BRANCH TARGET OUT OF RANGE)

    C51 COMPILATION COMPLETE. 0 WARNING(S), 5 ERROR(S)

    --
    Regards,
    Prasanth Kumar

  • You should contact technical support so they can get started helping you with that problem.

    Jon