From 72aed01dbde4eb119cc174fcf9eab9a02d6112a9 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 26 May 2024 12:24:20 +0300 Subject: [PATCH] [ASM] Fix up some x86 assembly code --- sdk/lib/ucrt/string/i386/strspn.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/lib/ucrt/string/i386/strspn.asm b/sdk/lib/ucrt/string/i386/strspn.asm index c13978b14fa..3f89a15ce75 100644 --- a/sdk/lib/ucrt/string/i386/strspn.asm +++ b/sdk/lib/ucrt/string/i386/strspn.asm @@ -226,12 +226,12 @@ lab listdone mov esi,string ; si = string -_ifnd SSTRPBRK ; set ecx to -1 +_ifnd SSTRPBRK, ; set ecx to -1 align @WordSize lab dstnext -_ifnd SSTRPBRK +_ifnd SSTRPBRK, mov al,[esi] or al,al @@ -252,7 +252,7 @@ endif ; SSTRSPN lab dstdone -_ifnd SSTRPBRK ; strspn/strcspn: return index +_ifnd SSTRPBRK, ; strspn/strcspn: return index add esp,32