ARM Technical Support Knowledge Articles

EXPORTING SYMBOLS FOR EMULATORS

Applies to: C51 C Compiler

Answer

QUESTION

Does the Keil Compiler for the 8051 provide a HEX output file with attached global and local (MODULE NAME.LOCAL VARIABLE NAME) names (labeled for stack, bit, accumulator, register, RAM or program memory) for my in-circut emulator?

ANSWER

Yes. Although Intel’s HEX format does not allow for debug information to be included in the file, the OMF-51 file created by the linker will, if configured, include all symbol information, references to source code, etc., so that source-level debugging may occur in your emulator.

Common emulators such as Hitex, Nohau, Metalink, and Signum are known to work correctly, and others that are compatible with OMF-51 should work as well.

Article last edited on: 2004-05-16 17:04:41

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