Just wondering if anyone might have some insight into how one would patch a processor module so you can look back at previous instructions... Here is the situation.
LD24 R3,#1234
LDUH R0,@R3
First instruction loads the address into R3. Second one reads its address and places the 16 bit value in R0. Now considering IDA, I'd like it to realize that the LD24 is loading a data reference if and only if it's followed by a LDxx instruction. The type of instruction will also tell me what sort of data it just loaded.
Now emu.cpp seems to handle only single instructions.
How would an experienced module writer go about attacking this problem?
thanks







