| Ti-83 and Ti-84 Assembly Programming | ||||||||||||||||||||||||||||||||||||||
| Getting Started 1.1: About This Tutorial 1.2: About TI-ASM 1.3: Writing Your First Program 1.4: Compiling 1.5: Debugging ASM Basics 2.1: Calls and Jumps 2.2: Registers 2.3: Displaying Text System Controls and Calls 3.1: Data 3.2: Register Stack 3.3: If Statements (Comparing) 3.4: GetKey and GetCSC 3.5: System Flags 3.6: Menus 3.7: Displaying Pictures 3.8: For Loops (djnz) 3.9: White Loops 3.10: OP Registers Applications 4.1: Apps vs ASM 4.5: KeyHooks | Data There are two types of things stored in a computer: executable code and data. Mostly we have been working with executable code. Data in an assembly program is specified by a ".db" before a string of data. Data can be in any form, but it gets converted to hex when compiled. Below is a table of data types:
If you do not specify a base by adding a suffix to your data, then it is assumed that it is in decimal, or base 10. You will usually see data in the following format:
If you wanted to put the value "FFh" in data (or any value), you could either use $FF or 0FFh. We chose the latter in our example. Nothing is required for the label, but we recommend using the following prefixes to keep things in order:
| |||||||||||||||||||||||||||||||||||||
![]() The text in this tutorial is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. | ||||||||||||||||||||||||||||||||||||||

