Пример #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;
  }
Пример #2
0
 public void storageSave(DataWord word1, DataWord word2) {
   storageSave(word1.getData(), word2.getData());
 }
Пример #3
0
 public void memorySave(DataWord addrB, DataWord value) {
   memorySave(addrB.intValue(), value.getData());
 }