83Plus:BCALLs:4330: Difference between revisions
From WikiTI
Jump to navigationJump to search
84plusfreak (talk | contribs) No edit summary |
84plusfreak (talk | contribs) mNo edit summary |
||
| Line 26: | Line 26: | ||
RST rMov9ToOP1 | RST rMov9ToOP1 | ||
ld hl,10 | ld hl,10 | ||
B_CALL | B_CALL CreateEqu | ||
equName: db EquObj,tVarEqu,tY1,0,0 | equName: db EquObj,tVarEqu,tY1,0,0 | ||
Latest revision as of 10:05, 3 May 2005
Synopsis
Official Name: CreateEqu
BCALL Address: 4330
Creates an equation.
Inputs
- HL = Length in bytes
- OP1 = Name of equation
Outputs
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 ld hl,10 B_CALL CreateEqu equName: db EquObj,tVarEqu,tY1,0,0