Question

1.Given that you are working with a 3-bit 2's complement system. What is the additive inverse...

1.Given that you are working with a 3-bit 2's complement system. What is the additive inverse of -4? That is, -4 + ? = 0 (zero).

2.What is the 7-bit 1's complement representation of 10101012

3.What is the 6-bit sign-magnitude representation of 1001012?

answer in decimal

Homework Answers

Answer #1
1)
-4 in 2's complement is 100
it's additive inverse is 4.
it can't be stored inside a 3-bit 2's complement.
so, inverse can not be stored inside a 3-bit 2's complement.

2)
since left most bit is 1, this number is negative number.
so, follow these steps below to convert this into a decimal value.
first flip all the bits. Flip all 0's to 1 and all 1's to 0.
   1010101 is flipped to 0101010
Now convert this result(0101010) to decimal value
=> 0101010
=> 0x2^6+1x2^5+0x2^4+1x2^3+0x2^2+1x2^1+0x2^0
=> 0x64+1x32+0x16+1x8+0x4+1x2+0x1
=> 0+32+0+8+0+2+0
=> 42
Answer: -42

3)
since left most bit is 1, this number is negative number.
00101
Now convert 00101 to decimal value
=> 00101
=> 0x2^4+0x2^3+1x2^2+0x2^1+1x2^0
=> 0x16+0x8+1x4+0x2+1x1
=> 0+0+4+0+1
=> 5
Answer: -5
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
1.What is the 8-bit 2's complement, 1's complement,sign-magnitude representation of 1710? Write your answer in the...
1.What is the 8-bit 2's complement, 1's complement,sign-magnitude representation of 1710? Write your answer in the format 0xHHHH... Where H's are hexidecimal digits. Include leading 0's (zeroes). Write hexidecimal digits, A-F, in capitals. 2.What is the 7-bit 1's complement representation of 10101012? 3.What is the 6-bit sign-magnitude representation of 1001012? Write your answer in decimal. 4.Given that you are working with a 3-bit 2's complement system. What is the additive inverse of -4? That is, -4 + ? = 0...
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?
Consider the number below, which is stored inside a computer which uses 16-bit 2’s complement base...
Consider the number below, which is stored inside a computer which uses 16-bit 2’s complement base 2 representation. 1101011001110101 (a) Is this number negative? Why, or why not? (b) Show the resulting value (“bit pattern”) after apply the 2’s complement negation operation to the given value. Is the resulting 2’s complement value (“bit pattern”) a negative number? Explain your answer.
Write -42 in the 16-bit 1’s complement and 2’s complement forms.
Write -42 in the 16-bit 1’s complement and 2’s complement forms.
Concern the following 16-bit floating point representation: The first bit is the sign of the number...
Concern the following 16-bit floating point representation: The first bit is the sign of the number (0 = +, 1 = -), the next nine bits are the mantissa, the next bit is the sign of the exponent, and the last five bits are the magnitude of the exponent. All numbers are normalized, i.e. the first bit of the mantissa is one, except for zero which is all zeros. 1. How many significant binary digits do numbers in this representation...
1.Find the 2’s complement of 11111011. What is the decimal value of it 2.Find A-B using...
1.Find the 2’s complement of 11111011. What is the decimal value of it 2.Find A-B using 2’s complement if A=1010 and B=11100 3. A) What is the range of numbers in a 4-bit machine if unsigned integer format is used. B) What is the smallest and largest number when 2’s complement format is used.
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X =...
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X = 1010011 and Y = 1010010 perform the subtraction X - Y. Enter your result below: Which bit of a signed binary number represents the sign?
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
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of...
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of the ROL operation on it with initial carry C=1, show the status bits and then convert the result back to decimal. Repeat with the ASR operation. Write the RTL specification of both operations shown here.
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What...
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What is the negation of EDCC in HEX? 3) Convert it to decimal number if this is a 2s-complement signed binary representation in 16- bit register 4) Convert it to decimal number if this is an unsigned binary representation in 16-bit 2. Suppose we have 3 arrays A, B, and C, array A’s base address is in $S3, B’s base address is in $S4, C’s...