Exemple #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();
 }
Exemple #2
0
 public void SetSBUS(SourceBus SBUS)
 {
     _SBUS = SBUS;
 }