4.7.12. __current_sp

This intrinsic returns the value of the stack pointer at the current point in your program.

Syntax

unsigned int __current_sp(void)

Return value

The __current_sp intrinsic returns the current value of the stack pointer at the point in the program where the intrinsic is used.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential