Support simple variable assignment
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user