21 lines
252 B
NASM
21 lines
252 B
NASM
section .rodata
|
|
global NR_read
|
|
global NR_write
|
|
global NR_open
|
|
global NR_close
|
|
global NR_exit
|
|
|
|
global EOS
|
|
global NL
|
|
|
|
;syscalls
|
|
NR_read equ 0
|
|
NR_write equ 1
|
|
NR_open equ 2
|
|
NR_close equ 3
|
|
NR_exit equ 60
|
|
|
|
;ascii
|
|
EOS equ 0x0
|
|
NL equ 0xA
|