Opt-in warnings when ld can be ldh, or jp can be jr #1017
Labels
enhancement
Typically new features; lesser priority than bugs
rgbasm
This affects RGBASM
rgblink
This affects RGBLINK
Milestone
Issue #986 plans to deprecate and remove the
-L
flag, which stops rgbasm from optimizingld
toldh
. It would still be convenient to know whenld
can manually be turned intoldh
, even if the target address is only known at link time (which rgbasm cannot handle). It would also be convenient to know whichjp
instructions could bejr
.Once
-L
is removed, we could reintroduce it to warn when anyld
can beldh
. Likewise,-J
can warn whenjp
can bejr
.Edit: actually, more
-W
flags would make more sense for these.The text was updated successfully, but these errors were encountered: