Question: Read a 3 2 - bit unsigned value from SWITCHES ( address 0 x 1 1 0 0 0 0 0 0 ) . If
Read a bit unsigned value from SWITCHES address x If the input is greater than or equal to the value is divided by You can ignore any remainder. If the value is less than the value is multiplied by The result should be written to the SEGMENT address x I want to write the code in OTTER mcu language.
This is what I have so far:
lui xx #load switch register
li x #load input into register
li x #load comparison value
li x #load dividing value
li x #load multiplying value
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
