83Plus:BCALLs:431B

From WikiTI
Revision as of 02:39, 3 May 2005 by 84plusfreak (Talk | contribs)

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

Synopsis

Official Name: CreateCList

BCALL Address: 431B

Creates a complex list.

Inputs

  • HL = Number of elements
  • OP1 = Name of list

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 0Dh. Contents of the list are random.

Example

ld hl,listName
RST rMov9ToOP1
ld hl,4
B_CALL CreateCList

listName: db CListObj,"RAND",0