Keil Logo

What's New in C51 Version 7.08

In C51...
  • [C51 Compiler]
    Corrected a potential problem with the CSTXPTR function of the EEPROM program examples for the Atmel parts (\KEIL\C51\EXAMPLES\FarMemory\E2PROM on T89C51RD2 and \KEIL\C51\EXAMPLES\FarMemory\3 XData Areas on T89C51RD2).
  • [Cx51 Compiler]
    When the setjmp and longjmp library routines are used in a code banking application, you must include the source file \KEIL\C51\LIB\SETJMP.A51 in your project. This file contains versions of these routines that support code banking. The routines in the standard library do not support code banking applications.
  • [Cx51 Compiler]
    Corrected a problem passing complex function parameters when far variables are used as function arguments.
  • [A51/AX51 Macro Assembler]
    Modified the assembler so that core SFR register symbols (ACC, B, DPL, DPH, PSW, SP) are automatically defined even when the NOMOD51 directive is used. This avoids error messages when generating assembler source (SRC) files from C modules that do not include a register definition file.
  • [AX51 Macro Assembler]
    Added the EVEN directive which is described in the Ax51 User's Guide. Previously, this directive was available only in the A251 Assembler.
  • [LX51 Linker]
    Corrected a problem with the memory allocation strategy that was introduced in Version 7.07. This problem caused incorrect address calculations for constant segments that were located after packed code segments.
  • [LX51 Linker]
    Corrected a problem with wildcards in the SEGMENTS directive. For example, SEGMENTS (?PR?*?module (C:0x4000)) did not locate all segments above 0x4000. Instead only the first segment was located at C:0x4000 and other segments were located within the CLASS definition.
  • [ISD51 In-System Debugger]
    Corrected a problem with flash breakpoints when the flash block size (CBLK_SZ) was configured for 1 byte.
  • [Cx51 Run-Time Library]
    Improved the rand library routine to deliver better distributed pseudo-random numbers. The new algorithm is based on a galois LFSR generator.
In µVision2...
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.