From 699cc8684b1571d2501bac2c8bdf461127a420a1 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 6 Oct 2024 18:07:57 +0200 Subject: Implement division --- TODO | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'TODO') 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. -- cgit v1.2.3