B.8.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, 2002. ARM Limited. All rights reserved.ARM DDI 0222B