String length: Difference between revisions
m
→Byte Length: formatting
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Byte Length: formatting) |
||
Line 3,651:
===Byte Length===
Code is called as a subroutine, i.e. <code>CALL getStringLength</code>.
<lang z80>; input: HL - pointer to the 0th char of a string.
; outputs length to B. HL will point to the last character in the string just before the terminator.
|