mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Clarify signed magnitude in the growth_rate macro
This commit is contained in:
parent
f16f53096b
commit
21908ba30a
|
@ -1,8 +1,8 @@
|
||||||
growth_rate: MACRO
|
growth_rate: MACRO
|
||||||
; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
|
; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
|
||||||
dn \1, \2
|
dn \1, \2
|
||||||
if \3 & $80 ; signed
|
if \3 < 0
|
||||||
db -\3 | $80
|
db -\3 | $80 ; signed magnitude
|
||||||
else
|
else
|
||||||
db \3
|
db \3
|
||||||
endc
|
endc
|
||||||
|
|
Loading…
Reference in a new issue