picasso icon indicating copy to clipboard operation
picasso copied to clipboard

no-op not inserted after label at end of loop

Open Shylie opened this issue 2 years ago • 1 comments

As an example,

.consti loopParams(3, 0, 1, 0)
.setb b0 true

.proc main
    for loopParams
        jmpu b0, label
        label:
    .end
.end

does not have a no-op inserted after label to prevent unintended early exits.

Shylie avatar Apr 08 '23 18:04 Shylie

If you can, submitting a PR that fixes this would be very much appreciated.

fincs avatar Apr 13 '23 20:04 fincs