Jump to content

String length: Difference between revisions

m
→‎Byte Length: formatting
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.
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.