Implement division
This commit is contained in:
6
TODO
6
TODO
@ -17,8 +17,9 @@
|
||||
|
||||
# Register allocation
|
||||
|
||||
- Temporary variables always use the same register, t0. Allocate registers for
|
||||
temporaries.
|
||||
- Each temporary variales gets a tn register where n is the variable index. If
|
||||
there more variables the allocation will fail with out of bounds runtime
|
||||
error. Implement spill over.
|
||||
|
||||
# Prarsing and abstract syntax tree
|
||||
|
||||
@ -27,3 +28,4 @@
|
||||
# Other
|
||||
|
||||
- Type analysis.
|
||||
- Generate call a to _divide_by_zero_error on RiscV.
|
||||
|
Reference in New Issue
Block a user