Description
3 ticks, excluding input/output bus
left shift, right shift, arithmetic right shift, rotate.
version B has shift amount on the same height as data input, making it easier for using it in second operand.
blue: data input, inverted, 15ss required
purple: shift amount input, normal, 15ss required.
keep in mind that doing a right shift by X is the same as doing a left shift by -X. please input the 2s complement if you want right shifts.
yellow: output, normal, low output
red:
- disable left shift, use when only doing right shift
- disable right shift, use when only doing left shift
- disable sign extend, for use with arithmetic right shift
Related Schematics

256 color display
The hardware for the 256 colors resource pack, by zPippo

And gate
it's just an and gate

8x8 Screen with XY Plotter + buffer
the casual 8x8 Screen with XY Plotter + buffer

ALU 16bit
16-bit ALU created by jezszymon, based on the 8-bit ALU created by dfgch.