checkpoint
authoradam <adam@megacz.com>
Tue, 21 Aug 2007 02:33:11 +0000 (03:33 +0100)
committeradam <adam@megacz.com>
Tue, 21 Aug 2007 02:33:11 +0000 (03:33 +0100)
src/edu/berkeley/fleet/ies44/InstructionEncoder.java

index 0d02f15..8ca184a 100644 (file)
@@ -12,15 +12,15 @@ public abstract class InstructionEncoder {
     public static final int WIDTH_DEST_ADDR     = 11;
     public static final int WIDTH_COUNT         = 7;
 
-    public static final int OFFSET_DEST         = 0;
-    public static final int OFFSET_COUNT        = OFFSET_DEST+WIDTH_DEST_ADDR;
-    public static final int OFFSET_CONTROL      = OFFSET_COUNT+WIDTH_COUNT;
-    public static final int OFFSET_TI           = OFFSET_CONTROL+0;
-    public static final int OFFSET_DI           = OFFSET_CONTROL+1;
-    public static final int OFFSET_DL           = OFFSET_CONTROL+2;
-    public static final int OFFSET_DO           = OFFSET_CONTROL+3;
-    public static final int OFFSET_TO           = OFFSET_CONTROL+4;
-    public static final int OFFSET_RQ           = OFFSET_CONTROL+5;
+    public static final int OFFSET_COUNT        = 0;
+    public static final int OFFSET_DEST         = OFFSET_COUNT+WIDTH_COUNT;
+    public static final int OFFSET_CONTROL      = OFFSET_DEST+WIDTH_DEST_ADDR;
+    public static final int OFFSET_RQ           = OFFSET_CONTROL+0;
+    public static final int OFFSET_TO           = OFFSET_CONTROL+1;
+    public static final int OFFSET_DO           = OFFSET_CONTROL+2;
+    public static final int OFFSET_DL           = OFFSET_CONTROL+3;
+    public static final int OFFSET_DI           = OFFSET_CONTROL+4;
+    public static final int OFFSET_TI           = OFFSET_CONTROL+5;
     public static final int OFFSET_PUMP_ADDR    = 24;
 
     /** get the bits describing this box's location on the DESTINATION HORN */