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

From WikiTI
Jump to: navigation, search
(Added example)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:83Plus:BCALLs:By Name:Monitor|RclVarSym]] [[Category:83Plus:BCALLs:By Name|RclVarSym]] [[Category:83Plus:BCALLs:By Address|4AE3 - RclVarSym]]
+
[[Category:83Plus:BCALLs:By Name:Variable|RclVarSym]] [[Category:83Plus:BCALLs:By Name|RclVarSym]] [[Category:83Plus:BCALLs:By Address|4AE3 - RclVarSym]]
 +
{{missinfo|Destroys}}
 
== Synopsis ==
 
== Synopsis ==
 
'''Official Name:''' RclVarSym
 
'''Official Name:''' RclVarSym
Line 23: Line 24:
 
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.

Latest revision as of 05:44, 6 February 2008

This article is missing some information (namely Destroys). You can help WikiTI by filling in the missing information.


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.