Archived
1
0

Fixed path.filename

This commit is contained in:
Sweet Bread 2022-11-06 18:55:20 +03:00
parent 20a9a96dc7
commit 0bd9f11f6f
4 changed files with 4 additions and 5 deletions

Binary file not shown.

View File

@ -2,10 +2,7 @@ all: main
main: ../../file.o ../../std.o ../../path.o ../../string.o
fasm main.asm
ld -m elf_i386 main.o ../../file.o ../../std.o ../../path.o ../../string.o --output main
# ../../string.o:
# make -C ../.. string.o
ld -m elf_i386 main.o ../../file.o ../../std.o ../../path.o --output main
../../std.o:
make -C ../.. std.o

BIN
path.o

Binary file not shown.

View File

@ -17,10 +17,12 @@ filename:
cmp [ebx+eax], byte '/'
je .break
cmp ebx, 0
je .break
je @f
dec ebx
jmp .loop
@@:
dec eax
.break:
add eax, ebx
inc eax