B.7.8. Summary of return address calculations

The calculation of the branch return address when entered from ARM or Thumb state can be summarized as:


where N is the number of debug speed instructionsexecuted (including the final branch), and S is the number of system speed instructions executed.

Copyright ©  2001 ARM Limited. All rights reserved.ARM DDI 0214B