Write a program MIPS Microprocessor without Interlocked Pipe

Write a program (MIPS, Microprocessor without Interlocked Pipeline Stages, instructions) using the Mars IDE to perform the following operations on the given two signed binary numbers ($S1=11110000, $S2=11110101).

S1 AND S2

S1 + S2

S1 OR S2

(S1+S2) AND S2

Solution

I can help with MIPS instructions, but don\'t know about Mars IDE.

S1 AND S2 :                       and $t0, $s1, $s2

S1 + S2     :                       add $t0, $s1, $s2

S1 OR S2   :                       or $t0, $s1, $s2

(S1+S2) AND S2:              add $t1, $s1, $s2

                                         and $t0, $t1, $s2

Each of these, store the final result in t0 register

Write a program (MIPS, Microprocessor without Interlocked Pipeline Stages, instructions) using the Mars IDE to perform the following operations on the given two

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site