answersLogoWhite

0

2's Complement Logic ExampleI believe the answer is indicated logically by:

~(Nrad2) + 1 (LSB).

In your example this would be:

~(0011010) :: 1100101

1100101 + 1 (LSB) = 1100110

I tried to generalize this since I didn't know if you were looking for a "little-endian" representation (lower address contains more significant bits in both data text and address syllable) or a "high-endian" representation, which is exactly the reverse/ In this case the "high-endian" data text would map to 0110011.

Answer1100110
User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: Find the 2's complement of the number 0011010 by inversion-addition method?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

What are 1's and 2's complement numbers explain?

1's complement numbers are those numbers which are obtain after converting 1 to 0 and 0 to 1. for e.g. 110010 1's complement of this number is:001101 2's complement is obtain by adding 1 in 1's complement of number. for e.g. 2's complement of above number:001101 + 1 --------------- 001110


What does the word complement means in mathematics?

The "complement" of a number is another number in which each digit, when added to the corresponding digit in the original number, will add up to the largest digit of the base in which the number is expressed. That sounds far more complicated than it really is. It's easier to understand by working through it. For example, take the decimal number "1976". The complement of 1976 would be another number which, when added to 1976, gives you the value 9999. In other words, each digit, added to it's corresponding digit in the complement, should total 9. So the complement of 1976 would be 8023. Perhaps a better example would be the number 9876543210. It's complement would be 0123456789. If you add the two numbers together, you'd get 9999999999. It is important to note though, that the complement of a number will differ depending on the base number is expressed in. For example, take the number 100 in decimal. It's complement is 099. If we express that number in binary however: 1100100 it's complement would be: 0011011 which, converted back to decimal, gives us the value 27. In other words, the value of a number's complement depends on the base in which the number is expressed.


What is 1's complement of decimal 10?

The decimal complement of the number 1 is 8. You can find the complement of any digit by subtracting it from the largest single digit value in the base that you're working in.


Twos complement of a given 3 or more bit binary number of non-zero magnitude is the same the original number if all bits except the?

ANSWER: MSB IS 1 In the 2's complement representation, the 2's complement of a binary number is obtained by first finding the one's complement (flipping all the bits), and then adding 1 to the result. This representation is commonly used to represent signed integers in binary form. Now, if all bits except the sign bit are the same, taking the 2's complement of the binary number will result in the negative of the original number. The sign bit (the leftmost bit) is flipped, changing the sign of the entire number. For example, let's take the 4-bit binary number 1101 The 2's complement would be obtained as follows: Find the one's complement: 0010 Add 1 to the one's complement: 0011


The 2's complement of binary number 101100is 010100?

No. It's 010011