Difference between revisions of "83Plus:BCALLs:4321"
From WikiTI
84plusfreak (Talk | contribs) |
84plusfreak (Talk | contribs) m |
||
Line 21: | Line 21: | ||
== Comments == | == Comments == | ||
− | If there isn't enough RAM a memory error will be generated. ([[83Plus:RAM:8478|OP1]]) doesn't have to be 02h. ([[83Plus:RAM:8478|OP1]]+3) and ([[83Plus:RAM:8478|OP1]]+4) have to be zero. Contents of the | + | If there isn't enough RAM a memory error will be generated. ([[83Plus:RAM:8478|OP1]]) doesn't have to be 02h. ([[83Plus:RAM:8478|OP1]]+3) and ([[83Plus:RAM:8478|OP1]]+4) have to be zero. Contents of the matrix are random. |
== Example == | == Example == |
Latest revision as of 01:55, 3 May 2005
Synopsis
Official Name: CreateRMat
BCALL Address: 4321
Creates a real matrix.
Inputs
- H = Rows
- L = Cols
- OP1 = Name of matrix
Outputs
Registers Destroyed
Comments
If there isn't enough RAM a memory error will be generated. (OP1) doesn't have to be 02h. (OP1+3) and (OP1+4) have to be zero. Contents of the matrix are random.
Example
ld hl,matName RST rMov9ToOP1 ld hl,4*256+6 ;4 rows, 6 cols B_CALL CreateRMat matName: db MatObj,tVarMat,tMatA,0,0