Difference between revisions of "83Plus:BCALLs:42F4"

From WikiTI
Jump to: navigation, search
 
(Outputs)
 
Line 16: Line 16:
  
 
=== Outputs ===
 
=== Outputs ===
* Carry Flag Set if found
+
* Carry flag set if not found
 
* B = 0 if in Ram or ROM page
 
* B = 0 if in Ram or ROM page
 
* HL = pointer to the start of the variables symbol table entry
 
* HL = pointer to the start of the variables symbol table entry

Latest revision as of 14:05, 21 December 2014


Synopsis

Official Name: FindSym

BCALL Address: 42F4


Searches the symbol table structure for a variable.

Inputs

  • (OP1 + 1) to (OP1 + 6) = variable name

Outputs

  • Carry flag set if not found
  • B = 0 if in Ram or ROM page
  • HL = pointer to the start of the variables symbol table entry
  • DE = pointer to the start of the variables data area if in RAM

Destroys

  • ALL

Comments

This search routine is used to find variables that are not programs, AppVar, or Groups. This is used to determine if a variable is created and also to return pointers to both its symbol table entry and data storage area. This will also indicate whether or not the variable is located in RAM or has been archived in Flash ROM.