| |||
| Home > Debugging Your System > The program counter during debug > Summary of return address calculations | |||
The calculation of the branch return address is as follows:
for normal breakpoint and watchpoint, the branch is:
- (4 + N + 3S)
for entry through debug request (DBGRQ) or watchpoint with exception, the branch is:
- (3 + N + 3S)
where N is the number of debug speed instructions executed (including the final branch) and S is the number of system speed instructions executed.