5) Convert the following values as noted from 8 bit to 16 bits (show both values
a. (Signed Magnitude) +8 b. (2s complement) +8
c. (signed magnitude) -8 d. (2s complement) -8
5)
a.
In 8 bit representation,
the signed magnitude representation of the decimal value +8 is represented as :
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
In 16 bit representation,
the signed magnitude representation of the decimal value +8 is represented as :
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
b.
2's complement of a positive number is same as the binary value of a positive number.
In 8 bit representation,
the 2's complement representation of the decimal value +8 is represented as :
| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
In 16 bit representation,
the 2's complement representation of the decimal value +8 is represented as :
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
c.
In 8 bit representation,
the signed magnitude representation of the decimal value -8 is represented as :
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
In 16 bit representation,
the signed magnitude representation of the decimal value -8 is represented as :
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
d.
In 8 bit representation,
sign extension method is applied and the 2's complement representation of the decimal value -8 is represented as :
| 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 |
In 16 bit representation,
sign extension method is applied and the 2's complement representation of the decimal value -8 is represented as :
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 |
5) Convert the following values as noted from 8 bit to 16 bits (show both values...
3) [15] Convert -5610 to an 8-bit word in each of the following representations a) Signed magnitude (SM) b) Diminished radix complement (DRC) or ones complement c) Radix complement (RC) or twos complement
2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...
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...
Please show all work and please explain what a 5 bit excess is. 3) Convert the following decimal number to binary 554 5) What is the range of 5-bit excess-16 numbers? 6) What is the range of 5-bit two's complement numbers? 7) What is the range of 5-bit unsigned numbers? 8) What is the range of 5-bit sign-magnitude numbers?
(b) Convert -41 (written in decimal representation) into its signed integer 8-bit representation using the two's complement method. That is find the two's complement of -41, when the number of overall bits used are 8.
Lengthen the two's complement number (both shown in hex) E3 and 3E to 16 bits. (NOTE: The values represented in each case should remain the same length after lengthening.) Your 16 bit answer in hex (for E3 in two's complement): Your 16 bit answer in hex (for 3E in two's complement): Shorten (if possible) the two's complement numbers (both shown in hex) E3 and 3E to the minimum number of bits needed. (Note 1: The values represented in each case...
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 X and Y o) Compute Y the 8-bit two's complement of Y. d) Compute the 8-bit difference X"Y of X and Y. (Use two's complement addition.) o) Convert XiY, Y, and, X Y to hexadecimal. D What are the values of the condition flags z n c v upon computing X-+Y? g) What are the values...
Show your work. For 8-bit numbers, use 1 sign bit, 3 exponent bits, 4 mantissa bits: 1.)Convert 11.0 to 8-bit floating point format 2.)Convert -12.40625 to 8-bit floating point format For 32-bit numbers, use 1 sign bit, 8 exponent bits, 23 mantissa bits: 3.)Convert 119.59375 to 32-bit floating point format 4.)Convert -67.1015625 to 32-bit floating point format
Perform the following 5-bit binary addition showing the carry bit that propagates to each column. Assume that the numbers are unsigned binary quantities: 01110 + 01011 What does the three-character string “X+Y” look like internally using the 8-bit ASCII code given in table below? What does it look like in 16-bit Unicode? Using 10 bits to represent the mantissa (sign/magnitude) and 6 bits for the exponent (also sign/magnitude), show the internal representation of the following two values: +0.25 −32 1/16...
4. What decimal value does the 8-bit binary number 10011110 have if: a) It is interpreted as an unsigned number? b) It is on a computer using signed-magnitude representation? c) It is on a computer using ones complement representation? d) It is on a computer using twos complement representation? 5. Given the following two binary numbers: 11111100 and 01110000. a) Which of these two numbers is the larger unsigned binary number? b) Which of these two is the larger when it is being...