TI-OS Variable Manipulation

z80 » Variables

Before we even begin to talk about variables, you have to understand how the TI86 uses memory areas called the OP_ Registers. OP stands for OPerator. They are not really registers like a, b, c, d, etc. They are 11 byte long areas of memory beginning at the address $c089 and ending at $c0d6. They are where the TI86 stores the variable names, types, values, numbers, and other junk that it needs.

There are 7 OP_ Registers numbered OP1, OP2, OP3, OP4, OP5, OP6, and OP7. Before we start to make routines, you need to have several of the include files for your code downloaded and in your include search path directory. If you have Asm Studio, that directory will be "Include".


More from z80 » Variables
Absolute Addressing // Binary Coded Decimal // Creating Variables // External Levels // _FindSym // Messing with Variable Data // OP Math // TI-OS Variable Manipulation // Variable Name Format // VAT Searches