String Length

by AdamStanislav - uploaded on August 1, 2016, 11:47 pm

Assembly language code to find the length of a NUL-terminated string, which I posted on http://www.int80h.org/strlen/ (one of my many web sites) back in 2000, now turned into an SVG graphic. It expects ES:EDI/RDI to point at the start of the string. At the end, the length of the string, not counting the terminating NUL, is in ECX.

Tags
asm assembler assembly code computer efficiency language length nul pearl program programing programming snippet software speed string
Safe for Work?
Yes

Comments

0 Comments. Please login to comment or add your own remix.