diff --git a/x86/arcfour-crypt.asm b/x86/arcfour-crypt.asm
index 74dd77634b9f7cf3317b931628e63b818b8bfa62..ee1e23e0f6476390d22e495d2a96c982192c8586 100644
--- a/x86/arcfour-crypt.asm
+++ b/x86/arcfour-crypt.asm
@@ -72,7 +72,7 @@ C	andl	$0xff, %ebx
 	movb    %ch, (%ebp, %eax)	C  S[i] = sj
 	movb	%cl, (%ebp, %ebx)	C  S[j] = si
 	addb    %ch, %cl
-	xorb    %ch, %ch		C  Clear, so it can be used
+	movzbl  %cl, %ecx		C  Clear, so it can be used
 					C  for indexing.
 	movb    (%ebp, %ecx), %cl
 	xorb    (%esi), %cl