summaryrefslogtreecommitdiff
path: root/boot/stage2.elna
diff options
context:
space:
mode:
Diffstat (limited to 'boot/stage2.elna')
-rw-r--r--boot/stage2.elna8
1 files changed, 6 insertions, 2 deletions
diff --git a/boot/stage2.elna b/boot/stage2.elna
index a9de48d..ce9de8a 100644
--- a/boot/stage2.elna
+++ b/boot/stage2.elna
@@ -4,8 +4,12 @@
# Stage2 compiler.
#
-# It supports declaring and calling procedures without arguments.
-# A procedure name should start with an underscore.
+# - Procedures without none or one argument.
+# - Goto statements.
+# - Character and integer literals.
+# - Passing local variables to procedures.
+# - Local variables should have the format: v00,
+# where 00 is its offset from the sp register.
.section .rodata