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 SetRG(GeneralRegisters RG) { this.RG = RG; }