mirror of
https://github.com/irmen/prog8.git
synced 2025-07-24 20:24:09 +00:00
optimize simple word and byte addition/subtraction better
This commit is contained in:
@@ -6,8 +6,6 @@ causes compiler error for virtual: just calling txt.cls() gives compile error un
|
||||
|
||||
https://github.com/irmen/prog8/issues/136 (string.find register order issue)
|
||||
|
||||
optimization: for 65c02 sometimes clc adc #1 is generated (for instance for: cx16.r0L = math.sin8u(cx16.r0L+1)), this can be optimized into inc a (always? or not? mind the carry flag!)
|
||||
|
||||
optimization: for 65c02 sometimes tya pha is generated, could be just phy (mind if A gets used afterwards though!) (same for pla tay etcetera?)
|
||||
|
||||
if-optimization:
|
||||
|
Reference in New Issue
Block a user