Keil™, An ARM® Company

Technical Support

RTX51: REGISTER PRESERVATION WITH API CALLS

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.

Last Reviewed: Tuesday, June 08, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure