| |||
| Home > Compiler-specific Features > Instruction intrinsics > __current_sp | |||
This intrinsic returns the value of the stack pointer at the current point in your program.
The __current_sp intrinsic returns the
current value of the stack pointer at the point in the program where
the intrinsic is used.
Legacy inline assembler that accesses sp, lr, or pc in the Compiler User Guide.