Beispiel #1
0
 public void doWB() throws IrregularStringOfBitsException {
   // passing results from temporary registers to destination registers and unlocking them
   Register lo = cpu.getLO();
   Register hi = cpu.getHI();
   lo.setBits(TR[LO_REG].getBinString(), 0);
   hi.setBits(TR[HI_REG].getBinString(), 0);
   lo.decrWriteSemaphore();
   hi.decrWriteSemaphore();
 }