summaryrefslogtreecommitdiff
path: root/home/math.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/math.asm')
-rw-r--r--home/math.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/math.asm b/home/math.asm
index 87a00c412..5e1cbdb50 100644
--- a/home/math.asm
+++ b/home/math.asm
@@ -1,4 +1,4 @@
-SimpleMultiply: ; 3105
+SimpleMultiply:: ; 3105
; Return a * c.
and a
ret z
@@ -15,7 +15,7 @@ SimpleMultiply: ; 3105
; 3110
-SimpleDivide: ; 3110
+SimpleDivide:: ; 3110
; Divide a by c. Return quotient b and remainder a.
ld b, 0
.loop
@@ -28,7 +28,7 @@ SimpleDivide: ; 3110
; 3119
-Multiply: ; 3119
+Multiply:: ; 3119
; Multiply hMultiplicand (3 bytes) by hMultiplier. Result in hProduct.
; All values are big endian.
push hl
@@ -42,7 +42,7 @@ Multiply: ; 3119
; 3124
-Divide: ; 3124
+Divide:: ; 3124
; Divide hDividend length b (max 4 bytes) by hDivisor. Result in hQuotient.
; All values are big endian.
push hl
@@ -64,7 +64,7 @@ Divide: ; 3124
; 3136
-SubtractSigned: ; 3136
+SubtractSigned:: ; 3136
; Return a - b, sign in carry.
sub b
ret nc