Question: 1) The flag condition for signed GE (greater than or equal) is N == V. Give examples (with 8 bit inputs) that verify the condition

1) The flag condition for signed GE (greater than or equal) is N == V. Give examples (with 8 bit inputs) that verify the condition is both directions.

Specifically, give four examples:

- one example where GE condition holds and N = V = 1

- one example where GE condition holds and N = V = 0

- one example where GE condition does not hold and N = 1, V = 0

- one example where GE condition does not hold and N = 0, V = 1

(It is possible that no combinations of inputs exist.)

2) Write a single instruction code in Legv8 assembly language that performs the operation Y = -X, given that the registers X9 and X10 hold the values of variables X and Y.

State precisely the set of values of X for which the above operation causes overflow.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!