From 3aa7a47e150b676f17a3be5477086bd2d8c719fd Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Wed, 8 Dec 2021 11:54:45 -0800 Subject: [PATCH] Fix off by one --- sectorlisp.S | 1 + 1 file changed, 1 insertion(+) diff --git a/sectorlisp.S b/sectorlisp.S index c2b2373..f6d4ae9 100644 --- a/sectorlisp.S +++ b/sectorlisp.S @@ -144,6 +144,7 @@ Intern: push %cx # Intern(cx,di): ax rep cmpsb # memcmp(di,si,cx) je 9f xor %ax,%ax + dec %di 2: scasb jne 2b jmp 1b