mirror of
https://github.com/irmen/prog8.git
synced 2025-02-19 11:31:07 +00:00
For function calls, register saves go via stack (to allow nested saves) for simpler cases, registers are saved in a local variable. Fixed too agressive removal of sta-lda sequence if the lda is followed by a branching instruction. Insert missing cmp #0 after functioncall if the value of the A register is needed in a comparison expression (could otherwise test wrong status flag)