Question

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.

Homework Answers

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
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.
A and B are two 8-bit 2’s complement numbers. The result of A & B is...
A and B are two 8-bit 2’s complement numbers. The result of A & B is 10011000 and the result of A ^ B is 00100110. (a) What is the sum A + B expressed in 8-bit two’s complement notation (use 1s and 0s, e.g. 10100101)? Will the carry flag be set? Will the overflow flag be set?
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
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
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].
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.
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
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.
2. On the Arduino Uno (and other ATMega based boards) an “int” stores a 16-bit (2-byte)...
2. On the Arduino Uno (and other ATMega based boards) an “int” stores a 16-bit (2-byte) value. “int” store negative numbers with a technique called 2's complement math. The highest bit, sometimes referred to as the "sign" bit, flags the number as a negative number. The rest of the bits are inverted and 1 is added. The Arduino takes care of dealing with negative numbers for you, so that arithmetic operations work transparently in the expected manner. a-What is the...
Determine the 2’s complement equivalent of the following numbers in 8-bit format (N.B: You must show...
Determine the 2’s complement equivalent of the following numbers in 8-bit format (N.B: You must show your work for full credit)!   -12 = -9 =
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT