Convert the following to Binary using 2’s Complement.
Continue reading Binary H/W 21/8
Tag Archives: 2s Complement
Binary & 2’s Complement Revision
You can find the new powerpoint here.
I will embed the flash file in this post in due course, at the moment it doesn’t want to play ball.
2’s Complement
Right I am adding the finishing touches to the revision powerpoint I promised you. However, while I was going over sign and magnitude, I came across this.
http://en.wikipedia.org/wiki/Signed_number_representations
“Useful” I hear you say, but there is more to this than meets the eye. There is on that page a method for converting a number to 2’s complement that I haven’t see in quite a while and I thought I might share it with you.
- Starting from the right, find the first ‘1’
- Invert all of the bits to the left of that one
- 00101010
- 11010110