Loading large constants now computes the stack offset correctly.

This commit is contained in:
David Given 2019-02-15 23:03:01 +01:00
parent 34c67698ef
commit 4474d6433a

View file

@ -350,12 +350,13 @@ pat lol ($1<0) && ($1>=0-STACKHELPERS)
yields de
pat lol
uses dereg
uses dereg, hlreg={const2, $1}
gen
dad lb
mov e, {m}
inx hl
mov d, {m}
yields de
pat loe
uses hlreg