cleanup on Alu2
[fleet.git] / ships / Alu2.ship
index ab4044e..392be46 100644 (file)
@@ -10,9 +10,6 @@ data  out:  out
 == Constants ========================================================
 ADD: add the two arguments; treat link as carry
 SUB: subtract the two arguments; treat link as carry
-MUL:
-DIV:
-MOD:
 REM:
 MAX:
 MIN:
@@ -31,6 +28,11 @@ Carry-save / carry completion stuff.
 
 Flags: zero, negative, overflow, ?
 
+move elsewhere:
+//MUL:
+//DIV:
+//MOD:
+
 == Fleeterpreter ====================================================
 public void service() {
   if (box_in1.dataReadyForShip() &&
@@ -45,12 +47,6 @@ public void service() {
               break;
           case 1: box_out.addDataFromShip(a-b); // SUB
               break;
-          case 2: box_out.addDataFromShip(a*b); // MUL
-              break;
-          case 3: box_out.addDataFromShip(a/b); // DIV
-              break;
-          case 4: box_out.addDataFromShip(a%b); // REM
-              break;
           default: box_out.addDataFromShip(0);
               break;
       }