Question

Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10...

Express the decimal number (25)10 as an 8-bit unsigned binary number.

Express the decimal number (-37)10 as an 8-bit sign-magnitude binary number.

Express the decimal number (-37)10 as an 8-bit 1's complement binary number.

Homework Answers

Answer #1

Answer 1 ->

Divide the number repeatedly by 2:

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.

  • division = quotient + remainder;
  • 25 ÷ 2 = 12 + 1;(LSB bit)
  • 12 ÷ 2 = 6 + 0;
  • 6 ÷ 2 = 3 + 0;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;(MSB bit)

25(10) = 00011001(2)

Answer 2 -->

37(10) = 00100101(2)

then sign-magnitude of -37(10)   is 100100101(2) .

In sign magnitude represent as positive integer in binary but if number is negative then MSB bit 1 , else number is positive then MSB bit 0.

Answer 3 -->

37(10) = 00100101(2)

To get the negative integer number representation on 8 bits, signed binary one's complement, replace all the bits on 0 with 1s and all the bits set on 1 with 0s (reverse the digits, flip the digits).

so 1's complement of 00100101(2) = 11011010(2)

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
Express the decimal number (-37)10 as an 8-bit 2's complement binary number. Given the two signed...
Express the decimal number (-37)10 as an 8-bit 2's complement binary number. Given the two signed binary numbers (2's comp.) X = -8 and Y = 14, what is their sum? What is the BCD representation of the decimal value (9371)10?
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
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
9)provide the binary and hexadecimal representations for the integer -37 in the following forms. a)Sign and...
9)provide the binary and hexadecimal representations for the integer -37 in the following forms. a)Sign and Magnitude as an 8 bit value b)8 bit 1’s complement as an 8 bit value c)2’s complement as an 8 bit value d)2’s complement as a 12 bit value
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.
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...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1 pts] unsigned integer? • [1 pts] sign-magnitude integer? • [1 pts] two's complement integer? Please Explain and Show all work
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
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can...
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can be expressed (in 8 bits) Using signed magnitude representation as: Using one's complement representation as: Using two's complement representation as: Using excess-M representation (with the appropriate value of M) as: 1c) Using the simple floating point model (1-bit sign, 5-bit biased exponent, and 8-bit significand), the number -0.125 (decimal) can be expressed as: (Do not use spaces or any English text. Provide only the...
Express the following 2’s complement number in decimal form, assume leftmost bit is the sign bit....
Express the following 2’s complement number in decimal form, assume leftmost bit is the sign bit. 1000110                            b. 011101                                c. 111111 d.   100000001                        e. 101                                      f. 00011111 g. 101001010                          h. 11                                        i. 10001
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT