func (this *ReorderBuffer) StoreRegister(op *operation.Operation, index, value uint32) { dest := index // If renaming register enabled if op.RenamedDestRegister() != -1 { dest = uint32(op.RenamedDestRegister()) } this.Buffer()[op.Id()] = RobEntry{ Operation: op, Type: RegisterType, Destination: dest, Value: int32(value), Cycle: this.Processor().Cycles(), } }