diff options
author | Jonathan <jonathan@jonathan-VirtualBox.(none)> | 2014-01-11 19:24:02 +0100 |
---|---|---|
committer | Jonathan <jonathan@jonathan-VirtualBox.(none)> | 2014-01-11 19:24:02 +0100 |
commit | d042116b7e74c919a3b8a378a9a5a9961219bc54 (patch) | |
tree | 05cedf9971626ef21326c56cd3c095b01aa7b653 /cpu/os.asm | |
parent | d37da063be3a5140531ea6183223410e5e3aad18 (diff) | |
download | SystDigit-Projet-d042116b7e74c919a3b8a378a9a5a9961219bc54.tar.gz SystDigit-Projet-d042116b7e74c919a3b8a378a9a5a9961219bc54.zip |
division with a strange bug in the remainder
Diffstat (limited to 'cpu/os.asm')
-rw-r--r-- | cpu/os.asm | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -184,23 +184,23 @@ unit_test_1: # Unsigned multiplication unit_test_2: # Unsigned division li B 1 - li C 60 + li C 64 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 4 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 |