SOLUTION:
NOTE:
If you are satisfied with my answer please do upvote and
if you have any kind of doubts please post in comment section. i'll
surely help you there.
Thank You:)
e,f,g,h,i 1) Given: X 0xA4 and Y 0x95, a) Convert X and Y to 8-bit binary numbers. b) Compute the 8-bit sum X+Y of...
HW 9: N-bit Arithmetic For each of the <X, Y> pairs in the table below: a) Convert X and Y to binary b) Compute X+Y (the 8-bit sum) c) Compute Y (the 2's complement of Y) d) Compute X-Y = X+Y (the 8-bit difference) e) Indicate the signs of X, Y, X+Y, Y, and X-Y f) Convert X+Y, Y, and X-Y to hexadecimal g) Indicate condition flag (z, n, C, v) values for X+Y, X-Y h) As unsigned numbers are...
1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 01001001, ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two's complement form. Comment on the results of the two methods used, noting and discrepancies. 2. Find the sums of the following unsigned hexadecimal numbers. Indicate whether or not the sum overflows an equivalent 8-bit binary result. a) 1116 +2216 b) 1716 +3516...
(5 points) Convert the following decimal numbers to 8-bit two's complement binary numbers and carry out the additions in binary. Indicate whether the sum overflows the 8-bit result. If not show the result as a decimal number. a) 39 + (-78) b) -43 + (-92)
1. Consider the following 7-bit binary sequence "1010001" a. Assuming the sequence is 7-bit unsigned binary, convert it to decimal. 15 points] b. Assuming the sequence is 7-bit 2's complement format, convert it to decimal. (5 points c. What is the range of numbers (in decimal) that can be represented using 7-bit binary, signed 2's complement format? 15 points 2. Consider the following Boolean function: F(x, y, z) = (x + y). z'+xy' a. Implement the circuit for the function...
1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.
1. Consider the following 7-bit binary sequence "1010001" a. Assuming the sequence is 7-bit unsigned binary, convert it to decimal. [5 points] b. Assuming the sequence is 7-bit 2's complement format, convert it to decimal. (5 points c. What is the range of numbers (in decimal) that can be represented using 7-bit binary, signed 2's complement format? [5 points 2. Consider the following Boolean function: F(x, y, z) = (x + y)z'+xy! a. Implement the circuit for the function using...
8.9 Use FA's to design a device which will calculate 5x +4y where x and y are 4-bit unsigned inputs. Use 8-bit arithmetic. 8.10 Use FA's and logic gates to design a device which will multiply a given 4-bit signed input by -2. (Hint: if you think about this for a bit, you should see the answer is actually pretty straightforward. ..) in addition to the normal sum and carry outputs, a third output called overflow does not. 8.11 Use...
(32 pts) Adder/ Subtractor 11. (8 pts) Given a l-bit full adder (you can use the box representation as below) show the circuitry required to make it into a 4-bit full adder and subtractor. 12. (12 pts) Show the hardware required to compute the 4 primary flags for your 4-bit add sub unit carry (C), zero (Z), overflow (V), and sign (N). 13.(12 pts) Show the results for the addition below. Also show the equivalent decimal numbers for each Ain...
Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show the steps): a) -39 b) -127 Q2) Solve the following subtraction problems using 2's complement representation. (Show the steps using 8-bits) a) 19 – 87 b) 89 – 5 Q3) Convert the following numbers into scientific notation: (Note: to show ten raised to the power of n, you can type as 10^n) a) 654.345 b) 0.000000324235 c) 25600000000000 Q4) Convert the following numbers out...
6. Convert .3710 to a binary fraction of 10 binary digits. 7. Use two's compliment arithmetic to perform the following 8 bit binary operations. a. 0010 1110 + 0001 1011 b. 0101 1101 – 0011 1010 c. 1011 1000 – 1000 1011 d. 1000 1100 – 1111 0111 8. Convert 150.8476562510 to IEEE Floating Point Standard. 9. Simplify the following Boolean expressions. a. xy + xy + xz b. (w + x)(x + y)(w + x + y + z)...