Find out where something is branched from?

Started by Igglyboo, March 15, 2009, 05:00:03 PM

Previous topic - Next topic

Igglyboo

This is probably not possible but I'm not completely sure.
I basically want to find out where something is branched from without doing massive steps through the execution.
Like if I have an op code somewhere I want to know if i can find out where the execution is before the execution is transferred to the op code I'm looking at.

Link

Good question and easy answer.. in most cases the LR register will kinda tell you..

when a blr command is executed your wii is going to jump to the address in the LR address.. LR-4 is normally the branch command which started the procedure you're tracing!