|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I have written some inline assembler in my C code than includes an LJMP to an absolute location:
#pragma asm LJMP 0x8023 #pragma endasm
This compiles, assembles and links fine, and checking the generated SRC file indicates the LJMP was correctly inserted. However, when I load my program into dScope the LJMP has a different address!
This is caused by a bug in the A51 assembler.
You require version 5.54 of the A51 assembler or better. See the attached files section below to get this updated file.
When you receive the updated file, use PKZIP or WinZIP to extract A51.EXE and replace the old file in your C51\BIN directory. Then, rebuild your project.
Request the files attached to this knowledgebase article.
Article last edited on: 2005-05-28 22:37:42
Did you find this article helpful? Yes No
How can we improve this article?