ARM Technical Support Knowledge Articles

REPLACE AJMP/ACALL WITH LJMP/LCALL

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

I am using an 8051 derivative that does not support the AJMP and ACALL instructions. When I build my project and examine it in the uVision Debugger, I notice that the toolchain is using AJMP instructions into the interrupt vector table.

How can I ensure that the toolset does not use any AJMP and ACALL instructions?

ANSWER

There are two settings that affect the generation of AJMP and ACALL instructions.

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-15 13:12:38

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential