Question

4) Convert the following binary values from 4 bit numbers to 7 bit values a) 2s...

4) Convert the following binary values from 4 bit numbers to 7 bit values

a) 2s complement value: 0101

b) 2s complement value: 1010

c) Unsigned binary value: 0101

d) Unsigned binary value: 1010

e) Sign Magnititude value: 0101

f) Sign Magnititude value: 1010

Homework Answers

Answer #1

(a) 0101 can be extended to 7 bits = 0000101

1’s complement of the number = 1111010

2’s complement of the number = 1111011

(b) 1010 can be extended to 7 bits = 0001010

1’s complement of the number = 1110101

2’s complement of the number = 1110110

(c) zero pad the given number 0101 = 0000101

(d) zero pad the given number 1010 = 0001010

(e) Extend the sign if sign bit is 0 (i.e. +ve) = 0000101

(f) Signed number is 1010 and hence its magnitude is found by taking its 2’s complement.

Hence magnitude is 0110, or the number is -6

We represent + 6 in 7-bit size = 0000110 and take 2’s complement to get 7-bit representation of -6

Hence the number is 1111010

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and...
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and to hex Convert 0xD1 (hexadecimal) to binary and to decimal Convert 0b11001001 (binary) to hex and to decimal Find the 2’s complement of the following 4-bit numbers 1101 0101 Perform the following 4-bit unsigned operations. For each, indicate the 4-bit result and the carry bit, and indicate if the answer is correct or not. 5 + 8 2 + 12 13 – 7 4...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain why, If decimal number cannot be represented with 8 bits. a. -46 b. -63 c. 118 d. -128 e. 128 B). Perform following operations by converting the decimal numbers to 8-bit two’s complement binary. Check results by converting final result to decimal a. 94-53 b. 15–84
Convert the decimal numbers 40 and 20 into 8-bit unsigned binary representation and add the two...
Convert the decimal numbers 40 and 20 into 8-bit unsigned binary representation and add the two numbers.
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011...
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011 0001 (b) 0011 1011 (c) 0101 0110 (d) 1101 1101 (e) 0001 1000 (f) 0010 1110
1)Show the unsigned 10 bit binary representations for the following decimal values or indicate that the...
1)Show the unsigned 10 bit binary representations for the following decimal values or indicate that the decimal value can’t be represented in unsigned 10 bit binary and indicate why. a. 989 b. 47 c. 2000 d. -127 PLEASE EXPLAIN IT IN DETAIL
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned...
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned binary representation, convert 12 (D) to binary. Show work. 4. Assuming 9-bit two’s complement representation and let x be binary representation of 94 (D) a. Find x. Show work. b. Show the effect of the ASL operation on x, and then convert the result back to decimal. c. Show the effect of the ASR operation on x, and then convert the result back to...
In the following problems, assume you are using 2s complement form and do the indicated operation....
In the following problems, assume you are using 2s complement form and do the indicated operation. Leave the answers in binary. Also, assume you are dealing with signed numbers. Also, assume we are saving the answer in a 8-bit register. In this case, for each problem would the saved answer be correct. If not for which of the following problems would if be incorrect and why?   6 + 7   6 + (-7)    -6 + 13 (Note: 13, which is positive...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement:...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: a) 77 b) -42 c) 119 d) -107 E) 60 f) -60 g) 20 h) -20
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356...
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356              b) 658 What decimal value does the 8-bit binary number 10011110 represent if it is on a computer using two’s complement representation? What decimal value does the 8-bit binary number 10110100 have if it is on a computer using two’s complement representation? please show your work for question number 4. thank you.