summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-09-09 16:02:55 -0400
committeryenatch <yenatch@gmail.com>2015-09-09 16:02:55 -0400
commitcc0d5d4c8bb9721f8ab0354d87c8f6d848dbe23b (patch)
tree2ab9e19e9f85d1894b42cb93dd969fa57327b0ed /hram.asm
parentc432709715df83f5cd063fd5b14684389e037e15 (diff)
parent0d4c2776d927e5d3162d9a4430fc82f35bf50be5 (diff)
Merge pull request #312 from JimB16/master
Added comments and changed labels (mainly for BattleTower)
Diffstat (limited to 'hram.asm')
-rw-r--r--hram.asm15
1 files changed, 9 insertions, 6 deletions
diff --git a/hram.asm b/hram.asm
index 3bdef5782..18bbd0218 100644
--- a/hram.asm
+++ b/hram.asm
@@ -31,13 +31,16 @@ hConnectedMapWidth EQU $ffb0
hPastLeadingZeroes EQU $ffb3
-hDividend EQU $ffb3
-hDivisor EQU $ffb7
-hQuotient EQU $ffb4
+hStringCmpString1 EQU $ffb1
+hStringCmpString2 EQU $ffb5
-hMultiplicand EQU $ffb4
-hMultiplier EQU $ffb7
-hProduct EQU $ffb3
+hDividend EQU $ffb3 ; length in b register, before 'call Divide' (max 4 bytes)
+hDivisor EQU $ffb7 ; 1 byte long
+hQuotient EQU $ffb4 ; result (3 bytes long)
+
+hMultiplicand EQU $ffb4 ; 3 bytes long
+hMultiplier EQU $ffb7 ; 1 byte long
+hProduct EQU $ffb3 ; result (4 bytes long)
hMathBuffer EQU $ffb8