public Registers() { for (int i = 1; i < r.Length; i++) { r[i] = 100 + i; } this.IFID = new IFID(); this.IDEX = new IDEX(); this.EXMEM = new EXMEM(); this.MEMWB = new MEMWB(); this.PC = 1000; this.nextPC = 0; }