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
|
prelude
|
||||||
|
|
||||||
mov ecx, [ebp+2*4]
|
mov ecx, [ebp+2*4]
|
||||||
|
mov edx, -1
|
||||||
xor edx, edx
|
|
||||||
|
|
||||||
@@:
|
@@:
|
||||||
cmp [ecx+edx], byte 0
|
|
||||||
je @f
|
|
||||||
inc edx
|
inc edx
|
||||||
jmp @b
|
cmp [ecx+edx], byte 0
|
||||||
@@:
|
jne @b
|
||||||
|
|
||||||
mov eax, 4
|
mov eax, 4
|
||||||
mov ebx, 1
|
mov ebx, 1
|
||||||
int 80h
|
int 80h
|
||||||
@ -167,7 +165,6 @@ _int:
|
|||||||
add esp, 4
|
add esp, 4
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
mov eax, 1
|
mov eax, 1
|
||||||
xor ebx, ebx
|
xor ebx, ebx
|
||||||
|
Reference in New Issue
Block a user