Exemplo n.º 1
0
 /** Updates the debugger display. */
 public void update() {
   memoryAddressValue = longTo16BitInt(memoryAddress.getState());
   for (int i = 0; i < NUMBER_BREAKPOINTS; i++) {
     breakpointValues.set(i, longTo16BitInt(breakpoints[i].getState()));
   }
   cpu.setPC(longTo16BitInt(programCounter.getState()));
   log.fine("Debugger display updated");
 }
Exemplo n.º 2
0
 // auxiliary look-up method
 private void lookUp(final SiSDBlock block) {
   if (!block.isBlank()) {
     memoryAddress.setState(block.getState());
     memoryAddress.fireStateChanged();
   }
 }