ARM Technical Support Knowledge Articles

SAVING RETURN ADDRESSES ON USER STACK

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

Is there an option in the compiler to allow return addresses to be stored on the user stack rather than the system stack?

ANSWER

There is no support in the C166/167 devices to store return addresses on a user stack. They may only be stored on the system stack. This is how the CALL and RET instructions work. It is not a function of the C compiler.

MORE INFORMATION

Article last edited on: 2005-07-19 10:24:43

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