diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1530978 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.o \ No newline at end of file diff --git a/001-hello_world.s b/001-hello_world.s new file mode 100644 index 0000000..2ffcb97 --- /dev/null +++ b/001-hello_world.s @@ -0,0 +1,16 @@ +.global _start +.intel_syntax noprefix + +_start: + mov rax, 1 + mov rdi, 1 + lea rsi, [hello_world] + mov rdx, 13 + syscall + + //exit + mov rax, 60 + syscall + +hello_world: + .asciz "Hello World\n"