1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-11 14:29:11 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@1033 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-10-11 14:38:46 +00:00
parent 10a92d08f3
commit 1e78c82d9b

View File

@ -913,6 +913,7 @@ unsigned OptStoreLoad (CodeSeg* S)
(N = CS_GetNextEntry (S, I)) != 0 &&
!CE_HasLabel (N) &&
(N->Info & OF_LOAD) != 0 &&
E->AM == N->AM &&
((E->OPC == OP65_STA && N->OPC == OP65_LDA) ||
(E->OPC == OP65_STX && N->OPC == OP65_LDX) ||
(E->OPC == OP65_STY && N->OPC == OP65_LDY)) &&