hQuotient is a four-byte buffer (fixes #558)

This commit is contained in:
Rangi
2018-08-26 13:49:38 -04:00
parent cb32c895e4
commit 557ce82073
22 changed files with 107 additions and 110 deletions

View File

@@ -175,15 +175,15 @@ _Divide::
ldh [hRemainder], a
ldh a, [hMathBuffer + 4]
ldh [hQuotient + 2], a
ldh [hQuotient + 3], a
ldh a, [hMathBuffer + 3]
ldh [hQuotient + 1], a
ldh [hQuotient + 2], a
ldh a, [hMathBuffer + 2]
ldh [hQuotient + 0], a
ldh [hQuotient + 1], a
ldh a, [hMathBuffer + 1]
ldh [hQuotient - 1], a
ldh [hQuotient + 0], a
ret