Calculator Community > ASM

ASM help

(1/2) > >>

trevmeister66:
Well I started (re)learning ASM today, and I was actually understanding most of it, but I had one question: Is there a way to store a variable (for example: a hi score) without using an appvar?

calc84maniac:

--- Quote from: trevmeister66 on May 13, 2009, 09:30:12 pm ---Well I started (re)learning ASM today, and I was actually understanding most of it, but I had one question: Is there a way to store a variable (for example: a hi score) without using an appvar?

--- End quote ---
Well, if you're coding for an ION-compatible shell, all changes to your program during execution are saved. If you're going no-stub, you can always locate the original copy of your program in memory and save the bytes there (when running nostub, your program's name is in OP1, ready for lookup).

trevmeister66:
Alright thanks. I'll try giving that a shot, but I think I'll probably need more space than available, so I'll probably just end up doing an appvar

DJ Omnimaga:
Aren't you limited to 8.x KB of executable code when using Ion?

calc84maniac:

--- Quote from: DJ Omnimaga on May 14, 2009, 01:38:14 am ---Aren't you limited to 8.x KB of executable code when using Ion?

--- End quote ---
It's worse in nostub though, because there are two copies of the program in memory, and TI even makes it error if the program is over 8.x KB.

Navigation

[0] Message Index

[#] Next page

Go to full version