ARM Technical Support Knowledge Articles

REGISTER PRESERVATION WITH API CALLS

Applies to: RTX51 Real-time Kernel

Answer

QUESTION

When calling an API function in RTX51, can you count on any or all of the registers being preserved?

ANSWER

No. You must assume that none of the registers are preserved. However, C will preserve variables within the correct scope.

Article last edited on: 2004-06-08 09:09:40

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