/** * @brief Writes the content of a given register to ALUx. * @param register - The register to be read from. */ public IEnumerator WriteToALUx(Register register) { busSystem.StartTransferringData(register.RouteToALUx); yield return(new WaitForSeconds(clock.GetSpeed())); ALU.WriteX(register.ReadString()); busSystem.StopTransferringData(register.RouteToALUx); }