Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /elks/arch/i86/lib/ltstl.s [d7422c] .. [ea71db] Maximize Restore

  Switch to side-by-side view

--- a/elks/arch/i86/lib/ltstl.s
+++ b/elks/arch/i86/lib/ltstl.s
@@ -9,18 +9,9 @@
 ltstl:
 ltstul:
 	test	bx,bx
-	je	LTST_NOT_SURE
+	jne	LTSTL_RET
+	test	ax,ax
+	jns	LTSTL_RET
+	inc	bx		! clear ov and mi, set ne for greater than
+LTSTL_RET:
 	ret
-
-	.even
-
-LTST_NOT_SURE:
-	test	ax,ax
-	js	LTST_FIX_SIGN
-	ret
-
-	.even
-
-LTST_FIX_SIGN:
-	inc	bx		! clear ov and mi, set ne for greater than
-	ret