Skip to content

65c02 : Potential issue if .A is used after LDA #/STA -> STZ optimization #3

@CTalkobt

Description

@CTalkobt

From discord:
DesertFish — 4:23 PM
LDA #0, STA addr → STZ addr
Is it smart enough to tell that the 0 in the accumulator is not used after that?

Add a test case to verify if this is the case. This issue may need to wait until (but document), until full register and flag usage flow can be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions