diff options
author | JimB16 <f1@jimb.de> | 2015-09-06 23:38:01 +0200 |
---|---|---|
committer | JimB16 <f1@jimb.de> | 2015-09-06 23:38:01 +0200 |
commit | 0d4c2776d927e5d3162d9a4430fc82f35bf50be5 (patch) | |
tree | 2ab9e19e9f85d1894b42cb93dd969fa57327b0ed /hram.asm | |
parent | c76a3c6ecd36d650a1715c0f5520c2336bd27f9c (diff) |
changed varlabels for multiply- and divide-func, renamed battletext-labels
Diffstat (limited to 'hram.asm')
-rw-r--r-- | hram.asm | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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 |