ARM Technical Support Knowledge Articles

AREGS/NOAREGS DIRECTIVE

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

How do I use absolute registers and how does it improve my code, if it improves my code?

ANSWER

The AREGS control causes the compiler to use absolute register addressing for registers R0 through R7 to improve the efficiency of the generated code. The NOAREGS directive disables absolute register adressing for registers R0-R7.

MORE INFORMATION

Article last edited on: 2005-07-15 14:15:10

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