Storing And Recalling System Variable Values - Texas Instruments TI-83 Plus Manual

Third release
Hide thumbs Also See for TI-83 Plus:
Table of Contents

Advertisement

20

Storing and Recalling System Variable Values

Since system variables are located at a fixed location in RAM, an application can access
the contents of a system variable directly. This method is safe only when recalling a
single system variable.
There is also a system routine that copies the contents of a system variable to OP1; the
value in the accumulator determines what system variable is recalled. See SysTok
values in Table 2.8.
RclSysTok
StoSysTok
Note: An application should not modify the contents of a system variable directly; it should always use
this system routine.
The system variable stored to is determined by the value in the accumulator.
Example: If you want to store -3 in Xmin:
Example: If you want to recall the contents of Xmin to OP1:
TI-83 Plus Developer Guide
Copies the contents of a system variable to OP1.
Stores the contents of OP1, if valid, to a system variable.
B_CALL
OP1Set3
B_CALL
InvOP1S
LD
A,XMINt
B_CALL
StoSysTok
LD
A,XMINt
B_CALL
RclSysTok
Chapter 2: TI-83 Plus Specific Information
; Reg OP1 = Floating point 3
; Negate FP number in OP1, OP1 = -3
; ACC = Xmin variable token value
; store OP1 to Xmin,
; OP1 = contents of Xmin, -3
Third Release May 28, 2002

Advertisement

Table of Contents
loading

Table of Contents