MainMemory now supports cells being accessed as BigIntegers
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / MainMemory.java
index 8f24b35..b699d3b 100644 (file)
@@ -1,10 +1,14 @@
 package net.mograsim.machine;\r
 \r
+import java.math.BigInteger;\r
+\r
 import net.mograsim.logic.core.types.BitVector;\r
 \r
 public interface MainMemory {\r
        \r
        public BitVector getCell(long address);\r
        public void setCell(long address, BitVector word);\r
+       public BigInteger getCellAsBigInteger(long address);\r
+       public void setCellAsBigInteger(long address, BigInteger word);\r
        public MainMemoryDefinition getDefinition();\r
 }\r