Monday 28 February 2011

Tutoring

If you or anyone you know if looking for tutoring for all levels
Standard Grade, Higher and Intermediate 2 Computing then give me a mail at

cmcalpine@hamilton.s-lanark.sch.uk

Thursday 19 August 2010

Signed Bit and Two's Complement

Signed Bit Notation

First bit indicates if a number is positive or negative
This has some drawbacks

Reduces the range which we can represent
There are two representations for zero, postive zero and negative zero.


Two's Complement Notation

Invert the number and add one

-96 0110 0000
INV 1001 1111
+1 1010 0000

The same process for converting back the way