aboutsummaryrefslogtreecommitdiff
path: root/examples/arithmetic.hdass
diff options
context:
space:
mode:
Diffstat (limited to 'examples/arithmetic.hdass')
-rw-r--r--examples/arithmetic.hdass2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/arithmetic.hdass b/examples/arithmetic.hdass
index 359653e..1534146 100644
--- a/examples/arithmetic.hdass
+++ b/examples/arithmetic.hdass
@@ -1,3 +1,5 @@
+[entry: main]
+
// Computes (5 + 3) * 2 - 1 = 15 and returns it as the exit status.
const SYS_EXIT = 60