Technical Support
On-Line Manuals
Compiler Reference Guide
Version 6.15
This intrinsic enables you to determine the current value of the program counter at the point in your program where the intrinsic is used.
To use this intrinsic, your source file must contain #include <arm_compat.h>. This is only available for targets in AArch32 state.
#include <arm_compat.h>
unsigned int __current_pc(void)
The __current_pc intrinsic returns the current value of the program counter at the point in the program where the intrinsic is used.
__current_pc
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.