Login
Remember
Register
Questions
Hot!
Unanswered
Categories
Ask a Question
Trivia Quiz
Download Books
Ask a Question
How can you form the negation of an integer in twos complement representation?
+1
vote
676
views
asked
in
Computer Architecture
by
anonymous
Your answer
Help us make this a great place for discussion by always working to provide accurate answers.
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
1
Answer
0
votes
answered
by
anonymous
Best answer
In order to form the negation of an integer in twos complement, take the Boolean complement of each bit of the positive number, then adding 1 to the resulting bit pattern viewed as an unsigned integer.
Your comment on this answer:
Improve the existing answer with your comment.
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
0
votes
0
answers
In general terms, when does the twos complement operation on an n-bit integer pro- duce the same integer?
asked
in
Computer Architecture
by
anonymous
+1
vote
1
answer
In general terms, when does the twos complement operation on an n-bit integer produce the same integer?
asked
in
Computer Architecture
by
anonymous
–1
vote
1
answer
Duplicate: What is the difference between the twos complement representation of a number and the twos complement of a number
asked
in
Computer Architecture
by
anonymous
+1
vote
1
answer
What is the difference between the twos complement representation of a number and the twos complement of a number?
asked
in
Computer Architecture
by
anonymous
+1
vote
1
answer
Explain how to determine if a number is negative in the following representations: sign magnitude, twos complement, biased.
asked
in
Computer Architecture
by
anonymous
0
votes
1
answer
Perform the arithmetic operations (+42)+(-13)and(-42)-(13)in binary using signed-2's complement representation for negative numbers.
asked
in
Computer Architecture
by
anonymous
0
votes
0
answers
perform the arithmetic operation (+42)+(-13)and(-42)-(-13)in binary using signed-2's complement representation for negative numbers.
asked
in
Computer Architecture
by
anonymous
+1
vote
1
answer
If we treat 2 twos complement numbers as unsigned integers for purposes of addition, the result is correct if interpreted as a twos complement number. This is not true for multiplication.Why?
asked
in
Computer Architecture
by
anonymous
+2
votes
1
answer
An Ethernet MAC sublayer receives 1510 bytes of data from the LLC layer. Can the data be encapsulated in one frame? If not, how many frames need to be sent? What is the size of the data in each frame?
asked
in
Computer Networks
by
anonymous
+2
votes
1
answer
What is the sign-extension rule for twos complement numbers?
asked
in
Computer Architecture
by
anonymous
Welcome to
CPEN Talk
Solution-oriented students of
computer engineering
on one platform to get you that
ONE SOLUTION
Categories
All categories
Artificial Intelligence
(70)
Compilers & Operating Systems
(73)
Computational Tools
(0)
Computer Aided Design
(4)
Computer Architecture
(333)
Computer Networks
(297)
Computer Vision & Robotics
(17)
Database Management Systems
(30)
Hardware Systems & Electronics
(14)
Maths & Statistics
(17)
Numerical Methods
(1)
Programming Languages & Algorithms
(52)
Software Engineering
(393)
Tutorials
(1)
Opinion
(10)
Others
(24)
[ Sponsored Posts ]
(1)
...