Difference between revisions of "83Plus:BCALLs:4315"

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

Revision as of 02:37, 3 May 2005

Synopsis

Official Name: CreateRList

BCALL Address: 4315

Creates a real 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. Contents of the list are random.

Example

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

listName: db ListObj,"RAND",0