From fff343349d880d63ff722f7baab777b7bc6fa5ce Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 20 Dec 2020 23:35:22 -0500 Subject: [PATCH] Clarify signed magnitude in the growth_rate macro --- data/growth_rates.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/growth_rates.asm b/data/growth_rates.asm index aee2a16e7..92948b3d3 100644 --- a/data/growth_rates.asm +++ b/data/growth_rates.asm @@ -1,8 +1,8 @@ growth_rate: MACRO ; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5] dn \1, \2 - if \3 & $80 ; signed - db -\3 | $80 + if \3 < 0 + db -\3 | $80 ; signed magnitude else db \3 endc