Difference between revisions of "83Plus:BCALLs:4AE3"

From WikiTI
Jump to: navigation, search
(Added example)
m (Forgot to close parenthesis)
Line 23: Line 23:
 
ld hl,op1+1      ;have hl point to where the name should be stored   
 
ld hl,op1+1      ;have hl point to where the name should be stored   
 
ld (hl),'H'      ;load the name into op1+1
 
ld (hl),'H'      ;load the name into op1+1
B_CALL RclVarSym  ;store the value into op1 (in standard TI-OS floating point decimal form</nowiki>
+
B_CALL RclVarSym  ;store the value into op1 (in standard TI-OS floating point decimal form)</nowiki>
  
 
== Comments ==
 
== Comments ==
 
This routine is used to recall TI-OS variables, such a 'A' or 'H' or other single letter varibales, but might be able to be used in recalling different types of variables. Once more doccumentation is found, it will be added.
 
This routine is used to recall TI-OS variables, such a 'A' or 'H' or other single letter varibales, but might be able to be used in recalling different types of variables. Once more doccumentation is found, it will be added.

Revision as of 20:43, 24 March 2007

Synopsis

Official Name: RclVarSym

BCALL Address: 4AE3

Recalls the value of a TI-OS variable.

Inputs

  • OP1 = Name of variable

Outputs

  • OP1 = Contents of Variable
  • possibly others, please add if known

Registers Destroyed

Unknown


Example

B_CALL ZeroOP1    ;Reset OP1
ld hl,op1+1       ;have hl point to where the name should be stored   
ld (hl),'H'       ;load the name into op1+1
B_CALL RclVarSym  ;store the value into op1 (in standard TI-OS floating point decimal form)

Comments

This routine is used to recall TI-OS variables, such a 'A' or 'H' or other single letter varibales, but might be able to be used in recalling different types of variables. Once more doccumentation is found, it will be added.