C51: SUPPORT FOR DEVICES WITH UNDER 2K CODE SPACE
Information in this article applies to:
By default, the Cx51 Compiler generates code using LJMP and LCALL instructions for jumps and calls. Numerous devices are available that do not support these instructions. For these devices, the AJMP and ACALL instructions must be used instead of the LJMP and LCALL instructions.
The Cx51 Compiler provides the ROM directive which allows you to control which jump and call instructions are used.
Note that the evaluation version of the tools impose a restriction on where code is located. For that reason, you cannot use the evaluation tools to program devices with under 2K of code memory. Of course, the licensed tools can be used to program such devices.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, August 21, 2006
of your data.