Question: Check if the flags do indeed function as expected. Now the final part of the simulation would require you to compare the magnitude of two

Check if the flags do indeed function as expected.
Now the final part of the simulation would require you to compare the magnitude of two 4 bit numbers A and B, assuming them to be a) unsigned numbers and b) signed numbers. Designate two outputs O1 and O2 such that
a. O1=1 if A>B; A and B are signed numbers
b. O2=1 if A>B; A and B are unsigned numbers.

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 Programming Questions!