aboutsummaryrefslogtreecommitdiff
path: root/examples/branch.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/branch.hdass
parent8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff)
add directives and directive based entry points
Diffstat (limited to 'examples/branch.hdass')
-rw-r--r--examples/branch.hdass2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/branch.hdass b/examples/branch.hdass
index 1218773..15f8d1b 100644
--- a/examples/branch.hdass
+++ b/examples/branch.hdass
@@ -1,3 +1,5 @@
+[entry: main]
+
// Returns the larger of two values (max(3, 8) = 8) as the exit status.
const SYS_EXIT = 60