mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
928611eb20
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)