RealView Compiler Reference Guide
Technical Support
On-Line Manuals
__current_sp
This intrinsic returns the value of the stack pointer at the current point in your program.
unsigned int __current_sp(void)
The __current_sp intrinsic returns the current value of the stack pointer at the point in the program where the intrinsic is used.
__builtin_frame_address
__current_pc
__return_address
Legacy inline assembler that accesses sp, lr, or pc in the Compiler User Guide.