1402c59305
git-svn-id: svn://kolibrios.org@1408 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
277 B
ArmAsm
16 lines
277 B
ArmAsm
# strlen() Author: Kees J. Bot 1 Jan 1994
|
|
|
|
# size_t strlen(const char *s)
|
|
# Return the length of a string.
|
|
|
|
.intel_syntax
|
|
|
|
.globl _strlen
|
|
|
|
.text
|
|
|
|
.align 16
|
|
_strlen:
|
|
mov ecx, -1 # Unlimited length
|
|
jmp __strnlen # Common code
|