83Plus:BCALLs:432A

From WikiTI
Jump to: navigation, search

Synopsis

Official Name: Create0Equ

BCALL Address: 432A

Creates an equation with zero length.

Inputs

  • OP1 = Name of equation

Outputs

  • HL points to symbol table entry
  • DE points to data section
  • OP4 contains the name as inputted in OP1.

Registers Destroyed

Comments

If there isn't enough RAM a memory error will be generated. (OP1) doesn't have to be 03h. (OP1+3) and (OP1+4) have to be zero. Contents of the equation are random.

Example

ld hl,equName
RST rMov9ToOP1
B_CALL Create0Equ

equName: db EquObj,tVarEqu,tY1,0,0