mirror of
https://github.com/samsonjs/sectorlisp.git
synced 2026-04-27 14:57:41 +00:00
Fix off by one
This commit is contained in:
parent
d7f5c287eb
commit
3aa7a47e15
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ Intern: push %cx # Intern(cx,di): ax
|
||||||
rep cmpsb # memcmp(di,si,cx)
|
rep cmpsb # memcmp(di,si,cx)
|
||||||
je 9f
|
je 9f
|
||||||
xor %ax,%ax
|
xor %ax,%ax
|
||||||
|
dec %di
|
||||||
2: scasb
|
2: scasb
|
||||||
jne 2b
|
jne 2b
|
||||||
jmp 1b
|
jmp 1b
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue