protected void clockUp() {
   short in = inputPins[0].get(); // 16 bit input
   short load = inputPins[1].get(); // load bit
   if (load == 1) {
     value = in;
     if (gui != null) gui.setValueAt(0, value);
   }
 }
 // updates the given value
 private void updateValue(short newValue) {
   value = newValue;
   outputPins[0].set(newValue);
   evalParent();
   if (gui != null) gui.setValueAt(0, newValue);
 }