EasyManuals Logo

Texas Instruments TI-83-Plus User Manual

Texas Instruments TI-83-Plus
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #46 background imageLoading...
Page #46 background image
36 Chapter 2: TI-83 Plus Specific Information
TI-83 Plus Developer Guide Third Release May 28, 2002
Example: Search for list L1 and set DE = to the number of elements in the list.
Assume it is not archived.
LD HL,L1Name
B_CALL Mov9ToOP1 ; OP1 = list L1 name
;
B_CALL FindSym ; look up list variable in OP1
JR C,NotFound ; jump if it is not created
;
EX DE,HL ; HL = pointer to data structure
LD E,(HL) ; get the LSB of the number elements
INC HL ; move to MSB
LD D,(HL) ; DE = number elements in L1
.
.
.
L1Name:
DB ListObj, tVarLst, tL1, 0
A pointer to the variable’s Symbol Table entry.
The HL register = address of the variable’s Symbol Table entry.
This is returned for both archived and unarchived variables. The Symbol Table
entries for all variables reside in RAM.
Creating Variables
There are two ways that variables can be created.
Use system routines that create them directly.
Use system routines that store a value to a variable, creating that variable if it does
not already exist.
This section addresses the first method, and the following section deals with the second
method.
Variables can only be created in RAM. Once created, they can be archived to the
Flash ROM.
A variable that already exists, even if archived, should not be recreated without first
deleting the current one. See Deleting Variables section below.
Routines that create variables do not check to see if a variable currently exists
before creating it. An application must check by searching the Symbol Table for the
variable. See routines FindSym and ChkFindSym. If this is not done, multiple
versions of the same variable exist leading to unpredictable side effects.
The graphing equations always exist, and therefore must be deleted before
recreating them. Always create the equation immediately after deleting it to avoid
system crashes.
Do not create variables with sizes outside of their specified limits. For example, do
not create a list with 1000 elements. The system does not check for these types of
errors when creating a variable.

Table of Contents

Other manuals for Texas Instruments TI-83-Plus

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-83-Plus and is the answer not in the manual?

Texas Instruments TI-83-Plus Specifications

General IconGeneral
Display TypeLCD
Display Resolution96 x 64 pixels
Power Source4 AAA batteries
Programming LanguageTI-BASIC, Z80 Assembly
Backup PowerCR1616 or CR1620 lithium battery
RAM24 KB
ProcessorZilog Z80
Weight7.4 oz (210 g) with batteries
Dimensions7.3 x 3.5 x 0.9 inches

Related product manuals