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

  Switch to side-by-side view

--- a/elks/arch/i86/lib/ldecb.s
+++ b/elks/arch/i86/lib/ldecb.s
@@ -8,14 +8,6 @@
 ldecb:
 
 ldecub:
-	cmp	2(bx),*0
-	je	LDEC_BOTH
-	dec	2(bx)
+	sub	word ptr 2[bx],#1
+	sbb	word ptr [bx],#0
 	ret
-
-	.even
-
-LDEC_BOTH:
-	dec	2(bx)
-	dec	(bx)
-	ret