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(); }
public void SetIR(InstructionRegister IR) { this.IR = IR; }