Browse Source

"not" doesn't affect flags, "xor $-1" does.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
3feac9465e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/prefix/unnrv2b.S

+ 1
- 1
src/arch/i386/prefix/unnrv2b.S View File

@@ -128,7 +128,7 @@ loop1_n2b:
128 128
 	shl	$8, %xAX	
129 129
 	movb	(%xSI), %al	/* m_off = (m_off - 3)*256 + src[ilen++] */
130 130
 	inc	%xSI
131
-	not	%xAX	
131
+	xor	$-1, %xAX
132 132
 	jz	decompr_end_n2b	/* if (m_off == 0xffffffff) goto decomp_end_n2b */
133 133
 	mov	%xAX, %xBP	/* last_m_off = m_off ?*/
134 134
 decompr_ebpeax_n2b:

Loading…
Cancel
Save