summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authorJimB16 <f1@jimb.de>2015-09-06 23:38:01 +0200
committerJimB16 <f1@jimb.de>2015-09-06 23:38:01 +0200
commit0d4c2776d927e5d3162d9a4430fc82f35bf50be5 (patch)
tree2ab9e19e9f85d1894b42cb93dd969fa57327b0ed /hram.asm
parentc76a3c6ecd36d650a1715c0f5520c2336bd27f9c (diff)
changed varlabels for multiply- and divide-func, renamed battletext-labels
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