diff options
| author | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
| commit | 3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch) | |
| tree | dfc7bf806a00c1dbec6c889351c108702a0e9d40 /examples/arithmetic.hdass | |
| parent | 8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff) | |
add directives and directive based entry points
Diffstat (limited to 'examples/arithmetic.hdass')
| -rw-r--r-- | examples/arithmetic.hdass | 2 |
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 |
