Question: Perform the following operation using MIPS assemblv: - Assign the value 0x3 into register SS1 2- Assign the value 0xl into register SS2 . Perform
Perform the following operation using MIPS assemblv: - Assign the value 0x3 into register SS1 2- Assign the value 0xl into register SS2 . Perform AND operation between registers SS1 & SS2 and save result in Stl 4 Invert the bits in SS1 and save the result in St2 s. Assign the value 0x5AB6 to register SS5 6- Assign the value 0x5AB61234 to register SS6 7. Shift left logical the value in register SS6 by 4 bits s- Multiply the value in register SS1 by 0x17 and save 9-Perform C= A+B-D where A=0x4 & B-0x4 & D = 10-Perform the operation F = A*B+C 1 if (IJ) and save the result in the same register SS6 the result in $t3 0x10 (choose the registers) (choose the registers) else 12. if(a>0) b=a+ 10; else b=a-10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
