18 lines
252 B
NASM
18 lines
252 B
NASM
%include "src/constants.asm"
|
|
|
|
section .rodata
|
|
|
|
section .bss
|
|
|
|
section .text
|
|
global fexist
|
|
|
|
;----- fexist(*file[]) -----;
|
|
; Checks if given file exists
|
|
; Return value: 1 if file exists, 0 otherwise
|
|
; Used registers:
|
|
; rax* (ret)
|
|
fexist:
|
|
xor rax, rax
|
|
|