Fix off by one

This commit is contained in:
Justine Tunney 2021-12-08 11:54:45 -08:00
parent d7f5c287eb
commit 3aa7a47e15

View file

@ -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