about summary refs log tree commit diff stats
path: root/example/samples/x86_32_simple.S
diff options
context:
space:
mode:
Diffstat (limited to 'example/samples/x86_32_simple.S')
-rw-r--r--example/samples/x86_32_simple.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/example/samples/x86_32_simple.S b/example/samples/x86_32_simple.S
new file mode 100644
index 00000000..f38c232f
--- /dev/null
+++ b/example/samples/x86_32_simple.S
@@ -0,0 +1,12 @@
+main:
+    PUSH 0
+    PUSH title
+    PUSH msg
+    PUSH 0
+    CALL DWORD PTR [ MessageBoxA ]
+    RET
+
+title:
+.string "Hello!"
+msg:
+.string "World!"