Keil Logo

C166: SAVING RETURN ADDRESSES ON USER STACK


Information in this article applies to:

  • C166 All Versions

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

  • Refer to page 19-4 of the Siemens C167 Derivatives User's Manual (03.96) Version 2.0 for more details on the function of the System Stack.

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.