mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
Generate more predictable code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4039 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
2e8d62cf88
commit
f3b639f835
@ -945,8 +945,8 @@ void g_leasp (int offs)
|
|||||||
AddCodeLine ("inx");
|
AddCodeLine ("inx");
|
||||||
} else {
|
} else {
|
||||||
ldaconst (offs);
|
ldaconst (offs);
|
||||||
AddCodeLine ("clc");
|
|
||||||
AddCodeLine ("ldx sp+1");
|
AddCodeLine ("ldx sp+1");
|
||||||
|
AddCodeLine ("clc");
|
||||||
AddCodeLine ("adc sp");
|
AddCodeLine ("adc sp");
|
||||||
AddCodeLine ("bcc %s", LocalLabelName (L));
|
AddCodeLine ("bcc %s", LocalLabelName (L));
|
||||||
AddCodeLine ("inx");
|
AddCodeLine ("inx");
|
||||||
|
Loading…
Reference in New Issue
Block a user