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

From WikiTI
Jump to: navigation, search
(Created page for this ROM call)
 
(Added example)
Line 16: Line 16:
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
 
''Unknown''
 
''Unknown''
 +
 +
 +
== Example ==
 +
<nowiki>
 +
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</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 19:42, 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.