In: Computer Science
Draw the Data Path for 4 commands in MIPS, showing the lines and numbering for each command that you selected.
1. Data path for add
R format of add instruction:
| field | op | rs | rt | rd | shamt | funct | 
| numbits | 6 | 5 | 5 | 5 | 5 | 6 | 
The image below contains the data path for add:

2. Data path for lw (load word)
I format of lw instruction:
| field | op | rs | rt | immediate | 
| numbits | 6 | 5 | 5 | 16 | 
The image below contains the data path for lw:

3. Data path for sw (store word)
I format of sw instruction:
| field | op | rs | rt | immediate | 
| numbits | 6 | 5 | 5 | 16 | 
The image contains the data path for sw:

4. Data path for j (jump)
J format of j instruction:
| field | op | address | 
| numbits | 6 | 26 | 
Data path for j is given in the image:
