Archived
1
0

Spaces to tabs

This commit is contained in:
Sweet Bread
2022-11-06 18:21:21 +03:00
parent c163efd83d
commit 20a9a96dc7
16 changed files with 399 additions and 400 deletions
+18 -18
View File
@@ -6,24 +6,24 @@ extrn string.len
section '.text' executable
filename:
prelude
prelude
mov eax, [ebp+2*4]
push eax
call string.len
pop ebx
mov eax, [ebp+2*4]
push eax
call string.len
pop ebx
.loop:
cmp [ebx+eax], byte '/'
je .break
cmp ebx, 0
je .break
.loop:
cmp [ebx+eax], byte '/'
je .break
cmp ebx, 0
je .break
dec ebx
jmp .loop
.break:
add eax, ebx
inc eax
mov [ebp+2*4], eax
postlude
ret
dec ebx
jmp .loop
.break:
add eax, ebx
inc eax
mov [ebp+2*4], eax
postlude
ret