aboutsummaryrefslogtreecommitdiff
path: root/examples/just_return/Main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/just_return/Main.asm')
-rw-r--r--examples/just_return/Main.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/just_return/Main.asm b/examples/just_return/Main.asm
new file mode 100644
index 0000000..f864099
--- /dev/null
+++ b/examples/just_return/Main.asm
@@ -0,0 +1,7 @@
+global main
+
+section .text
+main:
+ xor eax, eax
+ add rsp, 8
+ ret