summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-10-06 18:07:57 +0200
committerEugen Wissner <belka@caraus.de>2024-10-06 18:09:08 +0200
commit699cc8684b1571d2501bac2c8bdf461127a420a1 (patch)
tree9caecb24007eda52a074f348bbd613da033a2069 /TODO
parent35742aa52587400950cf25170c2247f98f498d4d (diff)
downloadelna-699cc8684b1571d2501bac2c8bdf461127a420a1.tar.gz
Implement division
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 4 insertions, 2 deletions
diff --git a/TODO b/TODO
index ef7c324..3731f6e 100644
--- a/TODO
+++ b/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.