This commit is contained in:
Kartik Agaram 2020-11-27 12:39:18 -08:00
parent 3341af3d92
commit 704265bd3c
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Some slow but convenient helpers
# slow, iterative divide instruction
# preconditions: _nr >= 0, _dr > 0
fn try-divide _nr: int, _dr: int -> _/eax: int {