aboutsummaryrefslogtreecommitdiff
path: root/examples/greet_from_library/Main.asm
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-02-07 04:26:07 -0800
committerFuwn <[email protected]>2025-06-09 00:46:03 -0700
commitbfa483c6aa5db5c9825faded62176904d516faf7 (patch)
tree043b73bdd939f955f2b4d1e6309c8b697d6e0544 /examples/greet_from_library/Main.asm
downloadarchived-divina-bfa483c6aa5db5c9825faded62176904d516faf7.tar.xz
archived-divina-bfa483c6aa5db5c9825faded62176904d516faf7.zip
feat(divina): pre-release :star:
Diffstat (limited to 'examples/greet_from_library/Main.asm')
-rw-r--r--examples/greet_from_library/Main.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/greet_from_library/Main.asm b/examples/greet_from_library/Main.asm
new file mode 100644
index 0000000..ff66ee3
--- /dev/null
+++ b/examples/greet_from_library/Main.asm
@@ -0,0 +1,10 @@
+global main
+extern library_perform
+
+section .text
+main:
+ call library_perform
+
+ xor eax, eax
+ add rsp, 8
+ ret