83Plus:BCALLs:42F4

From WikiTI
Revision as of 12:30, 11 April 2008 by Luby (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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.