|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
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.
Article last edited on: 2006-08-21 13:28:46
Did you find this article helpful? Yes No
How can we improve this article?