Пример #1
0
 public Processor()
 {
     SBUS  = new SourceBus();
     DBUS  = new DestinationBus();
     RBUS  = new ResultBus();
     PC    = new ProgramCounter();
     IR    = new InstructionRegister();
     RG    = new GeneralRegisters();
     ALU   = new ArithmeticLogicalUnit();
     FLAGS = new FlagsRegister();
     MEM   = new Memory();
     MDR   = new MemoryDataRegister();
     ADR   = new AddressRegister();
     IVR   = new InterruptVectorRegister();
     SP    = new StackPointer();
     T     = new BufferRegister();
     SEQ   = new Sequencer();
 }
Пример #2
0
 public void SetDBUS(DestinationBus DBUS)
 {
     _DBUS = DBUS;
 }