Question: There are two 4 - bit unsigned values A ( A 3 A 2 A 1 A 0 ) and B ( B 3 B
There are two bit unsigned values and provided as input with a
maximum value of So and will be
The objective of this homework is to determine the equations for two output bits ZF and SF
The ZF bit should be if The bit should be if
The homework can be broken down into the following steps:
Calculate the equations for determining the s complement of The inputs of this step
are and the outputs of this step are Hint: only depends on
only depends on etc. It is not necessary to do truth table.
Calculate the equations for determining B This is the s complement of The inputs of
this step are and the outputs of this step of The s complement of a
number is found by adding to the s complement of the number. So we are adding
and Refer to the below table from the first lecture about adding numbers.
For the first bit, the input in the table is and the input in the table is The sum is
is if is The carryout is if is For the second bit, the input in the table
is and the input in the table is The sum is is if is if
Similarly, calculate the equations for The equations can be left as function
of the inputs of this step ; it is not necessary to calculate them as function of
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
