From 0d4c2776d927e5d3162d9a4430fc82f35bf50be5 Mon Sep 17 00:00:00 2001 From: JimB16 Date: Sun, 6 Sep 2015 23:38:01 +0200 Subject: changed varlabels for multiply- and divide-func, renamed battletext-labels --- hram.asm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'hram.asm') 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 -- cgit v1.2.3