Posts: 13
Threads: 6
Joined: Mar 2016
Level: 8
x 4

What is the easiest method for finding where a certain register is set for a given function? I'm monitoring a function where T0 has a value of 8033FF00, and A1 starts at 8032FF00. A1 increases bit by bit until it hits 8033FF00 and then jumps out of the function. I need to find where T0 is initially set to 8033FF00, but I can't seem to back track through the function to find it. I have tried using the register change tool in nemu, but the issue is T0 is constantly being written/read to from various functions all the time. I have also tried just searching for 8033FF00 but it doesn't come up with anything. Does anyone have any advice as far as finding where registers are initially set?
