summaryrefslogtreecommitdiff
path: root/cpu/os.asm
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/os.asm')
-rw-r--r--cpu/os.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpu/os.asm b/cpu/os.asm
index 5a05661..72598c6 100644
--- a/cpu/os.asm
+++ b/cpu/os.asm
@@ -189,23 +189,23 @@ unit_test_1: # Unsigned multiplication
unit_test_2: # Unsigned division
li B 1
- li C 60
+ li C 61
li D 5
divu C C D
move D E
sei A C 12
and B B A
- se A D Z
+ sei A D 1
and B B A
- li C 14129
- li D 477
- divu C C D
- move D E
- sei A C 31
- and B B A
- sei A D 272
- and B B A
+ #li C 61
+ #li D 5
+ #divu C C D
+ #move D E
+ #sei A C 12
+ #and B B A
+ #sei A D 1
+ #and B B A
jr RA
unit_test_3: # Signed multiplication/division