Example #1
0
    /**
     * @brief Reads the operand of the current instruction
     *        into ALU y.
     */
    public IEnumerator ReadIROperandToALUy()
    {
        busSystem.StartTransferringData(BusControl.BUS_ROUTE.IR_ALUY);
        yield return(new WaitForSeconds(clock.GetSpeed()));

        ALU.WriteY(IR.OperandString());
        busSystem.StopTransferringData(BusControl.BUS_ROUTE.IR_ALUY);
    }