summaryrefslogtreecommitdiff
path: root/home/math.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-06-30 17:50:33 -0400
committerGitHub <noreply@github.com>2018-06-30 17:50:33 -0400
commit2641f93ad084b1329b3f3b9f7c8c222445fc4832 (patch)
treefb048bbc8bb7257dbd8169e2442117da5d2b30d2 /home/math.asm
parent91f914718a263839daef24d44eda857bfc7cca95 (diff)
parentda5125e1411f9599b883181c5ee6e31252d37ac8 (diff)
Merge pull request #534 from Rangi42/master
[RTM] Fix triple newlines left over from removing address comments, and other improvements
Diffstat (limited to 'home/math.asm')
-rw-r--r--home/math.asm4
1 files changed, 0 insertions, 4 deletions
diff --git a/home/math.asm b/home/math.asm
index 4a1711343..f385ccbf8 100644
--- a/home/math.asm
+++ b/home/math.asm
@@ -23,7 +23,6 @@ SimpleMultiply::
pop bc
ret
-
SimpleDivide::
; Divide a by c. Return quotient b and remainder a.
ld b, 0
@@ -35,7 +34,6 @@ SimpleDivide::
add c
ret
-
Multiply::
; Multiply hMultiplicand (3 bytes) by hMultiplier. Result in hProduct.
; All values are big endian.
@@ -48,7 +46,6 @@ Multiply::
pop hl
ret
-
Divide::
; Divide hDividend length b (max 4 bytes) by hDivisor. Result in hQuotient.
; All values are big endian.
@@ -61,7 +58,6 @@ Divide::
pop hl
ret
-
SubtractSigned::
; Return a - b, sign in carry.
sub b