Question: Using MIPS architecture, Start out a program with the instruction that puts a single one-bit into register one: ori $1,$0,0x01 Now, by using only shift
Using MIPS architecture,
Start out a program with the instruction that puts a single one-bit into register one:
ori $1,$0,0x01
Now, by using only shift instructions and register to register logic instructions, put the pattern 0xFFFFFFFF into register $1. Don't use another ori after the first. You will need to use more registers than $1. See how few instructions you can do this in. My program has 11 instructions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
