



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Various ways of representing binary numbers, including Binary Coded Decimal (BCD), sign-magnitude, offset binary (Excess-K), 1's complement, and 2's complement. It also covers arithmetic operations using these representations.
Typology: Study notes
1 / 6
This page cannot be seen from the preview
Don't miss anything!
Example 2.6. 3 (subtraction from a negative) 1100 (-3) +1101 (-2) (1) 1001 (-6?) The solution is to wrap the carry back in to the LSB. Exercise 2.6. 4 Can you explain why this works?
The Arithmetic operations are perhaps easiest in 2’s complement.
value Sign Offset 2’s Magnitude Binary complement +7 0111 1111 0111 +6 0110 1110 0110 +5 0101 1101 0101 +4 0100 1100 0100 +3 0011 1011 0011 +2 0010 1010 0010 +1 0001 1001 0001 0 0000 1000 0000 -1 1001 0111 1111 -2 1010 0110 1110 -3 1011 0101 1101 -4 1100 0100 1100 -5 1101 0011 1011 -6 1110 0010 1010 -7 1111 0001 1001 -8 - 0000 1000 -0 1000 - -