mirror of
https://github.com/samsonjs/sectorlisp.git
synced 2026-04-27 14:57:41 +00:00
shave one byte
This commit is contained in:
parent
17bd5be818
commit
7ae47772f6
2 changed files with 4 additions and 4 deletions
Binary file not shown.
|
|
@ -114,14 +114,14 @@ Intern: push %cx # Intern(cx,di): ax
|
||||||
mov %bp,%cx
|
mov %bp,%cx
|
||||||
mov %di,%ax
|
mov %di,%ax
|
||||||
cmp %bh,(%di)
|
cmp %bh,(%di)
|
||||||
je 2f
|
je 8f
|
||||||
rep cmpsb # memcmp(di,si,cx)
|
rep cmpsb # memcmp(di,si,cx)
|
||||||
je 9f
|
je 9f
|
||||||
not %cx
|
|
||||||
xor %ax,%ax
|
xor %ax,%ax
|
||||||
repne scasb # memchr(di,al,cx)
|
2: scasb # memchr(di,al,cx)
|
||||||
|
jne 2b
|
||||||
jmp 1b
|
jmp 1b
|
||||||
2: rep movsb # memcpy(di,si,cx)
|
8: rep movsb # memcpy(di,si,cx)
|
||||||
9: pop %cx
|
9: pop %cx
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue