Omnimaga
Calculator Community => TI Calculators => ASM => Topic started by: SirCmpwn on January 10, 2011, 12:17:24 am
-
Hello,
I've been pulling my hair out over this, but I can't seem to figure it out. For some reason, when the parser hook fires for me, the value in BC is always the same, and doesn't represent the token being parsed. Does anyone know why this might be happening?
-
Any source code? You might check register A as well
-
Register A contains the hook state, which works fine. The source code is a mix of assembly and Axe, and would be hard to understand if I posted.
-
Just remember, you should get different values for BC if the hook state is not 0. Other than that, I don't know what else could be wrong
EDIT: So what I'm saying is, this may be something unusual :D
-
Yeah, I'm properly handling the hook state, but for some reason, it isn't working. Let me try again and remove the hook state protection.