Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Hot_Dog on December 15, 2010, 09:20:18 am

Title: YAPC (Yet another Parser Question)
Post by: Hot_Dog on December 15, 2010, 09:20:18 am
How do I find out for sure where a string is located after being parsed?  For example, Text(1,1, "AAAAA")--how do I know where in RAM AAAAA is?  I can't help thinking it has to do with OP1, but I'm not positive  :(
Title: Re: YAPC (Yet another Parser Question)
Post by: ztrumpet on December 15, 2010, 05:52:59 pm
I'm pretty sure it's in OP1, and it stores the arguments backwards. (i.e. It would look like "AAAAA" , 1 , 1)  I'm not sure how the string itself is stored though. :P

<Remember I'm an Asm n00b, so I may not be entirely correct. :P>
Title: Re: YAPC (Yet another Parser Question)
Post by: Hot_Dog on December 15, 2010, 05:57:10 pm
I'm pretty sure it's in OP1, and it stores the arguments backwards. (i.e. It would look like "AAAAA" , 1 , 1)  I'm not sure how the string itself is stored though. :P

<Remember I'm an Asm n00b, so I may not be entirely correct. :P>

Actually, for ASM people, the fully parsed string ends right before fpbase, so I would use cpdr to find the beginning of the string.  I was just hoping there was a way to find the EXACT beginning of the string without having to find it using cpdr.  OP1 always comes out to "04 24 00".
Title: Re: YAPC (Yet another Parser Question)
Post by: Hot_Dog on December 15, 2010, 08:13:38 pm
Okay, problem solved.  Something called "temporary variables," which I never heard of until now.

Title: Re: YAPC (Yet another Parser Question)
Post by: willrandship on December 15, 2010, 09:55:08 pm
Since the problem has been solved.....

shouldn't if have been YAPQ? O.O