ARM Technical Support Knowledge Articles

WHAT IS THE PURPOSE OF $MODEL

Applies to: General Topics

Answer


Information in this knowledgebase article applies to:


QUESTION

I have translated a C Source File with the SRC option. In the resulting Assembler Source is a $MODEL directive that is undocumented. What is the purpose of this directive.

ANSWER

This directive communicates the Memory Model and parameters about the floating library usage to the linker. It is used by the linker to add the relevant C run-time libraries.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2010-10-05 06:53:42

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