aboutsummaryrefslogtreecommitdiff
path: root/examples/hello_world.hdass
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
committerhachem <im@hachem.wtf>2026-08-31 00:19:10 +0200
commit3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch)
treedfc7bf806a00c1dbec6c889351c108702a0e9d40 /examples/hello_world.hdass
parent8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff)
add directives and directive based entry points
Diffstat (limited to 'examples/hello_world.hdass')
-rw-r--r--examples/hello_world.hdass2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello_world.hdass b/examples/hello_world.hdass
index 59dac80..da6b2b5 100644
--- a/examples/hello_world.hdass
+++ b/examples/hello_world.hdass
@@ -1,3 +1,5 @@
+[entry: main]
+
const SYS_WRITE = 1
const SYS_EXIT = 60