Systemsicherheit/Assignment 5 - Software Security - Teil 1/syscalling/code.asm
2024-06-08 18:09:03 +02:00

19 lines
458 B
NASM

; define some macros
%define O_RDONLY 00000000o
%define O_WRONLY 00000001o
%define O_RDWR 00000002o
%define O_CREAT 00000100o
%define O_TRUNC 00001000o
%define S_IRUSR 00000400o
%define S_IWUSR 00000200o
section .data
path: db "/home/user/nachricht", 0
greeting: db "hidad!", 0
section .text
global _start
_start:
;----------------------------------
nop ; <YOUR CODE HERE>
; ------------ End of file ------------