Explore BrainMass
Share

Explore BrainMass

    add hardware to ALU

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    The MIPS ALU (see enclosed figure) is extended to support an instruction "set-on-not-equal-signs". The instruction 'snes $rd, $rs, $rt' is similar to 'slt'. It sets $rd to '1' if the sign bit of $rs sign bit of $rt. Your task is to add the minimum required hardware to the ALU so that this instruction is executable in one execute cycle (that is one cycle not counting the fetch and execute).

    © BrainMass Inc. brainmass.com October 9, 2019, 10:53 pm ad1c9bdddf
    https://brainmass.com/computer-science/hardware/add-hardware-to-alu-235547

    Solution Summary

    The MIPS ALU (see enclosed figure) is extended to support an instruction "set-on-not-equal-signs". The instruction 'snes $rd, $rs, $rt' is similar to 'slt'. It sets $rd to '1' if the sign bit of $rs sign bit of $rt. Your task is to add the minimum required hardware to the ALU so that this instruction is executable in one execute cycle (that is one cycle not counting the fetch and execute).

    $2.19