mirror of
https://github.com/cc65/cc65.git
synced 2024-10-02 21:54:47 +00:00
Use new CPU instruction sets table
git-svn-id: svn://svn.cc65.org/cc65/trunk@2515 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9de4932f23
commit
72ce6ac231
@ -942,7 +942,7 @@ unsigned OptDupLoads (CodeSeg* S)
|
|||||||
* location does already contain the value to be stored,
|
* location does already contain the value to be stored,
|
||||||
* remove the store.
|
* remove the store.
|
||||||
*/
|
*/
|
||||||
if (CPU >= CPU_65C02 && E->AM == AM65_ZP) {
|
if ((CPUIsets[CPU] & CPU_ISET_65SC02) != 0 && E->AM == AM65_ZP) {
|
||||||
if (ZPRegVal (E->Chg, In) == 0) {
|
if (ZPRegVal (E->Chg, In) == 0) {
|
||||||
Delete = 1;
|
Delete = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user