ae75f9d4e5
- 755 -> 644
12 lines
275 B
ArmAsm
12 lines
275 B
ArmAsm
! strcmp() Author: Kees J. Bot
|
|
! 27 Jan 1994
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
|
|
|
! int strcmp(const char *s1, const char *s2)
|
|
! Compare two strings.
|
|
!
|
|
.sect .text
|
|
.define _strcmp
|
|
_strcmp:
|
|
mov cx, #-1 ! Unlimited length
|
|
jmp __strncmp ! Common code
|