Difference between revisions of "83Plus:BCALLs:4327"
From WikiTI
84plusfreak (Talk | contribs) |
84plusfreak (Talk | contribs) m |
||
Line 28: | Line 28: | ||
B_CALL CreateString | B_CALL CreateString | ||
− | + | strName: db StrngObj,tVarStrng,tStr1,0,0 |
Latest revision as of 02:00, 3 May 2005
Synopsis
Official Name: CreateString
BCALL Address: 4327
Creates a string.
Inputs
- HL = Length in bytes
- OP1 = Name of string
Outputs
Registers Destroyed
Comments
If there isn't enough RAM a memory error will be generated. (OP1) doesn't have to be 04h. (OP1+3) and (OP1+4) have to be zero. Contents of the string are random.
Example
ld hl,strName RST rMov9ToOP1 ld hl,10 B_CALL CreateString strName: db StrngObj,tVarStrng,tStr1,0,0