summaryrefslogtreecommitdiffhomepage
path: root/test/test_samples/sample.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_samples/sample.asm')
-rw-r--r--test/test_samples/sample.asm8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_samples/sample.asm b/test/test_samples/sample.asm
index 6b622f7..72b1a46 100644
--- a/test/test_samples/sample.asm
+++ b/test/test_samples/sample.asm
@@ -1,5 +1,7 @@
-;; \note This should compile.
+%bits 64
+%org 0x40000000
+
public_segment .code64 __ImageStart
- ;; rax is the return value register.
mov rax, 5
- ret \ No newline at end of file
+ ret
+