Support simple variable assignment

This commit is contained in:
2025-09-01 09:57:18 +02:00
parent 627975775c
commit 44fa140769
8 changed files with 1454 additions and 505 deletions

View File

@@ -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