Adds fopen(), fwrite(), fclose()
This commit is contained in:
@ -1,6 +1,18 @@
|
||||
section .rodata
|
||||
global NR_read
|
||||
global NR_write
|
||||
global NR_open
|
||||
global NR_close
|
||||
|
||||
global EOS
|
||||
global NL
|
||||
|
||||
EOS equ 0x0
|
||||
NL equ 0xA
|
||||
;syscalls
|
||||
NR_read equ 0
|
||||
NR_write equ 1
|
||||
NR_open equ 2
|
||||
NR_close equ 3
|
||||
|
||||
;ascii
|
||||
EOS equ 0x0
|
||||
NL equ 0xA
|
||||
|
Reference in New Issue
Block a user