ARM Technical Support Knowledge Articles

SAVE/RESTORE DIRECTIVE

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

How do I store the current settings?

ANSWER

The SAVE directive stores the current settings of AREGS and REGPARMS, and the current OPTIMIZE level and emphasis. The RESTORE directive fetches the values of the last SAVE directive from the save stack.

MORE INFORMATION

Article last edited on: 2005-07-15 14:15: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