Introduction
This is a set of tutorials on programming in assembly on TI-83 graphing calculators. Although these tutorials are written for the TI-83, most of the concepts and code can be used for anything else with the z80 micro-processor, such as a TI-82, TI-85 or TI-86. Also, all this code will work on a TI-83 plus, but there are size limitations and other things...man I just hate the 83 plus...

Assembly language is a low level machine language and can be very hard to learn. This should NOT be your first computer language. You should at least learn, and become very good at, BASIC.

WARNING: Assembly is very powerful. You can do some really cool things in assembly, but you can also end up crashing your calculator if you're not careful. When you're just starting assembly, you'll probably crash you're calc a lot, but as you learn more, it will rarely ever happen. The best thing to do is download an emulator, such as Virtual TI by Rusty Wagner. If a program crashes in Virtual TI you just right click and select Reset Mem, or Revert to saved state, and it's back to normal, whereas on a calculator you have to take out all the batteries, and sometimes even wait a few hours for it to start working. I strongly suggest that you download Virtual TI from somewhere like ticalc.org, before starting assembly.



First, before you start programming, you're going to need a few things:

TASMThis is the assembler or compiler. It complies your code into machine code.
ti83asm.incHas defines for rom calls and other things.
tokens.incDefines for the tokens. I won't be using it in these tutorials, but it would just be good to have this.
Devpac83"Squishes" your programs (makes them 1/2 size). Also makes compiling programs much easier.
AshellAn old shell for the 83, but I still use, and I will be using it throughout these tutorials.


Ok, now on to the tutorials...
1. Clearing the screen
2.
3.
4.
5.



Clearing the screen