Improve todo/fix comment for strcmp
This commit is contained in:
@ -98,7 +98,7 @@ strcat:
|
|||||||
;----- strcmp(char* str1, char* str2) -----;
|
;----- strcmp(char* str1, char* str2) -----;
|
||||||
; return value: 0 if both strings are the same, otherwise index in array str1 where strings are to become different
|
; return value: 0 if both strings are the same, otherwise index in array str1 where strings are to become different
|
||||||
; returns -1 if str2 is longer than str1 and no difference was found before that happens
|
; returns -1 if str2 is longer than str1 and no difference was found before that happens
|
||||||
; TODO: FIX length 13 for TEST strcmp(strBuff1, str1) (see tests.asm, test 1)
|
; TODO: FIX length 13 for TEST strcmp(strBuff1, str1) (see tests.asm, strcmp test 1)
|
||||||
strcmp:
|
strcmp:
|
||||||
push rbp
|
push rbp
|
||||||
mov rbp, rsp
|
mov rbp, rsp
|
||||||
|
Reference in New Issue
Block a user