Difference between revisions of "83Plus:BCALLs:430F"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 02:27, 3 May 2005

Synopsis

Official Name: CreateReal

BCALL Address: 430F

Creates a real variable.

Inputs

  • OP1 = Name of real 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 00h. 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 CreateReal