mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
distro files
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
printf("Hello, world!\n");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(){
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
echo Hello, World!
|
||||
Reference in New Issue
Block a user