Esempio n. 1
0
  public DataWord memoryLoad(int address) {

    allocateMemory(address, DataWord.ZERO.getData().length);

    DataWord newMem = new DataWord();
    System.arraycopy(memory.array(), address, newMem.getData(), 0, newMem.getData().length);

    return newMem;
  }
Esempio n. 2
0
 public void storageSave(DataWord word1, DataWord word2) {
   storageSave(word1.getData(), word2.getData());
 }
Esempio n. 3
0
 public void memorySave(DataWord addrB, DataWord value) {
   memorySave(addrB.intValue(), value.getData());
 }