You copied the Doc URL to your clipboard.

Program Counter

The Program Counter (PC) is accessed as PC (or R15). It is incremented by the size of the instruction executed (which is always four bytes in ARM state). Branch instructions load the destination address into PC. You can also load the PC directly using data operation instructions. For example, to branch to the address in a general purpose register, use:

    MOV PC,R0

During execution, PC does not contain the address of the currently executing instruction. The address of the currently executing instruction is typically PC-8 for ARM, or PC-4 for Thumb.

Note

ARM does not recommend writing to the PC directly to jump to an address or to return from a function. Use the BX instruction instead.