For add, select rd and the arithmetic logic unit result. For sw, select destination zero while retaining the memory-store controls and source-register reads. For jal, select register 31 and the return-address data. These are the same actual register writes as before, with sw using destination zero in place of disabling RegWrite.
The link value is determined by the particular MIPS architecture datapath convention: for the usual teaching datapath without a delay slot, or for classic delayed-branch MIPS. This write-enable change does not alter whichever link convention the original machine implements.

Articles by others on the same topic (0)

There are currently no matching articles.