For the semantics stipulated by the question, write to register 31 and load the next from register . Read through register-file output . Select input two of the next-PC multiplexer, which is already wired from . Select destination input two, already the constant register number 31, and write-back input two, already .
Thus the printed diagram already contains the necessary three-way multiplexers and wires. Extend the controller's opcode/function decoding to generate
The displayed and settings are arbitrary safe choices for an unused result. No additional datapath hardware or control field is required beyond decoding this instruction into the existing values. This uses the question's explicitly specified link convention.

Articles by others on the same topic (0)

There are currently no matching articles.