Find the 2's complement of the number 0011010 by inversion-addition method? |
2's Complement Logic Example
I 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.
Answer
1100110
|
|
|
First answer by Hmn324. Last edit by ID1051471532. Question popularity: 24 [recommend question]
|
Research your answer: |
Can you answer other questions about databases and data management systems?
|
|


