Question

Translate the base 10 value -45 into 8-bit two's complement representation.

Translate the base 10 value -45 into 8-bit two's complement representation.

Homework Answers

Answer #1

Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.

45 /  2  result 22 remainder  1
22 /  2  result 11 remainder  0
11 /  2  result 5  remainder  1
5  /  2  result 2  remainder  1
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1

Read the remainders from bottom to top.

( 45 )10 = ( 101101 )2

( 45 )10 in 8-bit is ( 00101101 )2

Ones complement 
= Inverting all the bits in binary
= 11010010

Twos complement 
= Ones complement + 1
= 11010010 + 1
= 11010011

11010011
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
Question 37 Which of the following is the 8-bit two's complement for -49?
Question 37 Which of the following is the 8-bit two's complement for -49?
Design a sequential circuit that will negate four-bit two's complement integer. That is if, for example,if...
Design a sequential circuit that will negate four-bit two's complement integer. That is if, for example,if the input is 3 (in two's compliment representation) the output should be -3 (in two's complement notation). Start with the truth table, next write the formulas for each output in SOP form, next simplify formulas using Karnaugh maps and finally draw the simplified circuit. Thank you
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
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...
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement...
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement integer An unsigned integer A floating point number assuming the IEE 754 single precision format PLEASE EXPLAIN AND SHOW WORK
Find the two’s complement representation for the following numbers, assuming they are represented as a 16-bit...
Find the two’s complement representation for the following numbers, assuming they are represented as a 16-bit number. Write the value in both binary and hexadecimal for full credit. a. -72 b. 1314 c. 594 d. -1194
7. Convert 7E2516 to base 10. 8. The range of positive integers possible in an 8-bit...
7. Convert 7E2516 to base 10. 8. The range of positive integers possible in an 8-bit two’s complement system is (Read this question carefully): Question 8 options: 1 to 256 1 to 127 -128 to 127 1 to 128
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to...
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to 8-bit binary using signed magnitude. Show your work. 1c. Convert 69 (base 10) to 8-bit binary using one’s complement. Show your work. 1d. Convert 70 (base 10) to 8-bit binary using two’s complement. Show your work.
Show each step to find the 8-bit representation of -3310
Show each step to find the 8-bit representation of -3310
What is the 16-bit binary representation (in hexadecimal using lower-case letters, e.g., 0x39ab) of -13 1/4...
What is the 16-bit binary representation (in hexadecimal using lower-case letters, e.g., 0x39ab) of -13 1/4 (base 10) when represented as an IEEE 16-bit floating-point number? The IEEE 16-bit floating-point representation uses formulae consistent with those for the 32bit single-precision representation, except for using 5 bits for the exponent (instead of 8 in the case of the 32-bit representation) and a bias of 15.