예제 #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 SetADR(AddressRegister ADR)
 {
     this.ADR = ADR;
 }