83Plus:BCALLs:430C
From WikiTI
Synopsis
Official Name: CreateCplx
BCALL Address: 430C
Creates a complex variable.
Inputs
- OP1 = Name of complex variable
Outputs
- HL points to symbol table entry
- DE points to data section
- OP4 contains the name as inputted in OP1
Registers Destroyed
Comments
Only names from A-Z or Theta are allowed. You don't have to set (OP1) to 0Ch. The OS does this for you. (OP1+2) and (OP1+3) must be zero. No checks are made for duplicate/invalid names. If there isn't enough RAM a memory error will be generated.
Example
ld a,'C' B_CALL RealName B_CALL CreateCplx