9.106 __current_pc intrinsic

This intrinsic enables you to determine the current value of the program counter at the point in your program where the intrinsic is used.

Syntax

unsigned int __current_pc(void)

Return value

The __current_pc intrinsic returns the current value of the program counter at the point in the program where the intrinsic is used.
Related reference
9.107 __current_sp intrinsic
9.128  __return_address intrinsic
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.