Bugfix
This commit is contained in:
parent
96decefa64
commit
10d4013e1c
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.fuse_hidden*
|
Binary file not shown.
Binary file not shown.
11
src/std.asm
11
src/std.asm
@ -39,15 +39,13 @@ _str:
|
||||
prelude
|
||||
|
||||
mov ecx, [ebp+2*4]
|
||||
|
||||
xor edx, edx
|
||||
mov edx, -1
|
||||
|
||||
@@:
|
||||
cmp [ecx+edx], byte 0
|
||||
je @f
|
||||
inc edx
|
||||
jmp @b
|
||||
@@:
|
||||
cmp [ecx+edx], byte 0
|
||||
jne @b
|
||||
|
||||
mov eax, 4
|
||||
mov ebx, 1
|
||||
int 80h
|
||||
@ -167,7 +165,6 @@ _int:
|
||||
add esp, 4
|
||||
ret
|
||||
|
||||
|
||||
exit:
|
||||
mov eax, 1
|
||||
xor ebx, ebx
|
||||
|
Reference in New Issue
Block a user