Skip to content
Snippets Groups Projects
Commit bf42f58b authored by Xun Yang's avatar Xun Yang
Browse files

fix assignment

parent 2be30942
No related branches found
No related tags found
2 merge requests!30New new string,!20Master
......@@ -358,6 +358,7 @@ class AssignNode(ASTNode):
self.code += p("pop", "ebx")
self.code += p("mov", "[eax]", "ebx")
self.code += p("mov", "eax", "ebx") # result of assignment is its own value
self.code += ("; End of assignment\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment