- with m.Case(MicrOp.OP_SHL): comb += mode.eq(0b000)
- with m.Case(MicrOp.OP_SHR): comb += mode.eq(0b001) # R-shift
- with m.Case(MicrOp.OP_RLC): comb += mode.eq(0b110) # clear LR
- with m.Case(MicrOp.OP_RLCL): comb += mode.eq(0b010) # clear L
- with m.Case(MicrOp.OP_RLCR): comb += mode.eq(0b100) # clear R
+ with m.Case(MicrOp.OP_SHL): comb += mode.eq(0b0000) # L-shift
+ with m.Case(MicrOp.OP_SHR): comb += mode.eq(0b0001) # R-shift
+ with m.Case(MicrOp.OP_RLC): comb += mode.eq(0b0110) # clear LR
+ with m.Case(MicrOp.OP_RLCL): comb += mode.eq(0b0010) # clear L
+ with m.Case(MicrOp.OP_RLCR): comb += mode.eq(0b0100) # clear R
+ with m.Case(MicrOp.OP_EXTSWSLI): comb += mode.eq(0b1000) # L-ext