diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-09-01 09:57:18 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-09-01 14:53:05 +0200 |
| commit | 44fa14076985405d8390d50b92f6a2fdbcb7f751 (patch) | |
| tree | 81b50337b8eba3bd9d34f6ad52b0d7e2f3b764b7 /boot/stage2.elna | |
| parent | 627975775c941130975ce0f9dbef08c723e69794 (diff) | |
| download | elna-44fa14076985405d8390d50b92f6a2fdbcb7f751.tar.gz | |
Support simple variable assignment
Diffstat (limited to 'boot/stage2.elna')
| -rw-r--r-- | boot/stage2.elna | 8 |
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 |
