aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple_return.gsa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple_return.gsa')
-rw-r--r--examples/simple_return.gsa8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/simple_return.gsa b/examples/simple_return.gsa
new file mode 100644
index 0000000..dd48fe2
--- /dev/null
+++ b/examples/simple_return.gsa
@@ -0,0 +1,8 @@
+main() {
+ 5: nop
+ 4: nop
+ 3: x6 = 5
+ 2: x10 = x6
+ 1: return x10
+}
+