forked from KolibriOS/kolibrios
1402c59305
git-svn-id: svn://kolibrios.org@1408 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
303 B
ArmAsm
16 lines
303 B
ArmAsm
# strncmp() Author: Kees J. Bot 1 Jan 1994
|
|
|
|
# int strncmp(const char *s1, const char *s2, size_t n)
|
|
# Compare two strings.
|
|
#
|
|
|
|
.intel_syntax
|
|
|
|
.globl _strncmp
|
|
|
|
.text
|
|
.align 16
|
|
_strncmp:
|
|
mov ecx, [esp+12] # Maximum length
|
|
jmp __strncmp # Common code
|