View Full Version : Calculator Assembly

07-25-2002, 04:28 PM
Does anyone know a good tutorial with this language? And is it anything like the normal asm?

07-25-2002, 05:04 PM

I spent a whole summer back in high school hacking away at z80 asm for my ti-86; it was quite fun. If you have a ti-89 or 92 you'll want to look into m68k asm instead; I never got the hang of that.

I hear that there is now a free and reasonably good C language environment that is popular on the platform.

07-25-2002, 05:19 PM
Thanx, would learning this asm help me with the one for the computer at all?

07-25-2002, 07:29 PM
It will definitely give you a head start, but if you are only looking to it as a step to x86 asm, then I suggest that you start directly with x86 asm (which probably means dealing with either DOS, which is fairly useless, or the WinAPI with asm, which is quite complex).

If you are intending asm as a hobby, then I would suggest that you start with calculators. Assuming that you are interested in making actual graphical applications and not just trying to implement algorithms or something similar, then what you can make on the calculator will seem much more immediately satisfying, and has a good chance of actually being appreciated by someone (uploading to ticalc.org).

Anything that you write in DOS in asm is probably going to be fairly useless, and anything you write using the WinAPI in asm is going to be quite tedious and complex. BUT, with the calculator you can move very quickly to having applications that look as good as anything else on the calculator; it is easy to read keypresses, and to plot pixels, and at most you have 4-8 shades of gray (which is a bit more complex).

07-25-2002, 08:12 PM
the c language compiler is called tigcc. it's reasonably good.

with x86 assembly, it's important to remember that assembly is complex. it's difficult to figure out in most cases, and an unknown detail can kill your program. there are quite a few assembly commands, ranging from the common mov and jmp's, to the fairly simple xor, add, sub, to the ones that imply a lot of stuff, like div and mul, and finally the ones that you use maybe once in your lifetime, like lgdt and cpuid.

And is it anything like the normal asm?
yes... somewhat. the commands all look different, and the registers are different, but there are similarities present among all assembly languages.