Question: 9. Write a program which will determine the sign of a full word in memory labeled x. If x is negative, $v0 should be -1;
9. Write a program which will determine the sign of a full word in memory labeled x. If x is negative, $v0 should be -1; if x is positive, $v0 should be +1; if x is zero, $v0 should be 0.
9. Write a program which will determine the sign of a full word in memory labeled x. If x is negative, $v0 should be 1; if x is positive, $v0 should be +1; if x is zero, $v0 should be 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
