3 == Ports ===========================================================
8 == Constants ========================================================
9 == TeX ==============================================================
10 == Fleeterpreter ====================================================
11 public void service() {
12 if (box_in.dataReadyForShip() && box_inShift.dataReadyForShip()) {
13 int val = box_in.removeDataForShip();
14 int inShift = box_inShift.removeDataForShip();
15 if (inShift < 0) val = val >> (-1 * inShift);
16 else val = val << inShift;
17 box_out.addDataFromShip(val);
21 == ArchSim ==============================================================
22 == FPGA ==============================================================
23 // not implemented FIXME!
25 == Contributors =========================================================
26 Adam Megacz <megacz@cs.berkeley.edu>