index
:
pascal_compiler
master
Small compiler for a subset of pascal
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
gen_code.c
Age
Commit message (
Collapse
)
Author
2019-10-09
Remove erroneous print_tree and gen_label in gen_statement
Tucker Evans
2019-10-09
Add function call code generation
Tucker Evans
2019-10-09
Fix move gen_arguments for func prototype
Tucker Evans
2019-10-09
Fix string formats for register loading off stack
Tucker Evans
2019-10-09
Add Stack save/load routines
Tucker Evans
2019-10-09
Add PCALL generation code
Tucker Evans
2019-10-09
Add gen_argument to push args in the correct order
Tucker Evans
2019-10-09
Fix changes mov to movq
Tucker Evans
2019-10-09
Fix GAS assembly comments
Tucker Evans
2019-10-08
Add error message for reals code generation
Tucker Evans
2019-10-08
Add statements markers in assembly
Tucker Evans
2019-10-08
Add assignment code generation
Tucker Evans
2019-10-08
Fix gen_label/gen_expr for right leafs
Tucker Evans
2019-10-08
Fix enter/leave function setup (stack frames)
Tucker Evans
2019-10-08
Add scope based stack offsets for variables
Tucker Evans
2019-10-08
Add write function assembly
Tucker Evans
2019-10-08
Fix register names are lowercase
Tucker Evans
2019-10-07
Add base of gen_expr
Tucker Evans
Case 4 not implemented yet, should be sufficient for basic testing though.
2019-10-07
Add register stack
Tucker Evans
2019-10-07
Add debug prints for all gen_statements
Tucker Evans
To check order of statements generated
2019-10-07
Add generate statement code in correct order
Tucker Evans
2019-10-06
Add gen_statement base code to code generation
Tucker Evans
2019-10-06
Fix gen code gets name of function being created for labeling
Tucker Evans
2019-10-06
Add gen_code src files, with gen_label func implemented
Tucker Evans