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
+17 -16
View File
@@ -10,7 +10,7 @@ extrn exit
section '.strtab'
filename db "/home/sweetbread/headers", 0
filename db "makefile", 0
section '.bss' writeable
@@ -19,21 +19,22 @@ file_ rd 1
section '.text' executable
_start:
push filename
call file.open
pop eax
mov [file_], eax
push dword [file_]
call print.str
call print.nl
call print.nl
push filename
call file.open
pop eax
mov [file_], eax
push dword [file_]
call print.str
call print.nl
call print.nl
push dword [file_]
call file.content
call print.str
push dword [file_]
call file.content
call print.str
call print.nl
push dword [file_]
call file.close
push dword [file_]
call file.close
call exit
call exit