Loading large constants now computes the stack offset correctly.
This commit is contained in:
parent
34c67698ef
commit
4474d6433a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue