Prévia do material em texto
Step 1 of 6 2.07DP The binary addition of two numbers is shown in Table (1). Table 1: 00000 00101 01001 01110 10001 10110 11010 11111 Step 2 of 6 Where X and are two binary numbers, Cin is Carry input to the addition of binary numbers, Cout is Carry output from the addition of the binary numbers and Sum is the addition of two binary numbers. Addition of two binary numbers are done by adding two binary number together with least significant bits with an initial carry of 0, producing carry and sum according to the Table (1). Step 3 of 6 (a) The addition of given two binary numbers is determined as follows, 1100100 X 110011 +11010 Sum 1001101 Thus, the addition of given two binary numbers results in the sum, 1001101 and a carry 1100100 Step 4 of 6 (b) The addition of given two binary numbers is determined as follows, 1011100 X 100111 Y +101010 Sum 1010001 Thus, the addition of given two binary numbers results in the sum, 1010001 and a carry 1011100 Step 5 of 6 (c) The addition of given two binary numbers is determined as follows, 111111110 X 11100011 +1011101 Sum 101000000 Thus, the addition of given two binary numbers results in the sum, 101000000 and a carry 111111110 Step 6 of 6 (d) The addition of given two binary numbers is determined as follows, 11000000 X 1100110 Y +1111001 Sum 11011111 Thus, the addition of given two binary numbers results in the sum, 11011111 and a carry 11000000