From de450bfb4354f716fb43fae69d90ed513068d10b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 28 Jan 2023 22:29:48 +0100 Subject: Rewrite, bootstrap Rewriting without KVM, huge goals, won't finish, just for fun. --- tests/asm/yay.asm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/asm/yay.asm (limited to 'tests/asm/yay.asm') diff --git a/tests/asm/yay.asm b/tests/asm/yay.asm new file mode 100644 index 0000000..beffcb6 --- /dev/null +++ b/tests/asm/yay.asm @@ -0,0 +1,17 @@ +section .data + +msg: db "yay", 10 +len: equ $-msg + +section .text +global main +main: + mov rax, 1 + mov rdi, 1 + mov esi, msg + mov rdx, len + syscall + + mov rax, 60 + mov rdi, 0 + syscall -- cgit v1.2.3