distro files

This commit is contained in:
Matheus
2023-05-13 22:30:25 -03:00
parent 55967dacfb
commit c6f9f295ee
11 changed files with 72 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
section .text
global _start
_start:
mov rax, 9
mov rdi, 1
mov rsi, msg
mov rdx, 14
syscall
mov rax,15
xor rdi, rdi
syscall
section .data
msg: db "Hello, world!", 0xA
+5
View File
@@ -0,0 +1,5 @@
#include <stdio.h>
int main(){
printf("Hello, world!\n");
}
+6
View File
@@ -0,0 +1,6 @@
#include <iostream>
int main(){
std::cout << "Hello, world!" << std::endl;
return 0;
}
+1
View File
@@ -0,0 +1 @@
echo Hello, World!