00:01
Okay, for this question, we've got two bit patterns on the left, and we want to see how their two's complement and their excess notation compare to each other.
00:11
And then we'll answer some questions like, what do those values have in common, and what do these bit patterns have in common? but for now, let's start with our first one, 01011, and remember what we do for two's complement.
00:26
So since there's a zero in the leftmost bit, this is going to be a positive number.
00:31
Can go ahead and figure out what 1 -011 is in a regular binary and write it out.
00:38
That's going to be 11.
00:41
For 11011, that's a little trickier.
00:43
If we're using 2's complement, the first thing i want to do is actually complement, then actually flip them all.
00:50
From right to left, keep the first one you see, and everything else gets flipped.
00:57
So what is this in binary? well, this is a regular positive 5, which means that the number written in black, the original number, is negative 5 since it was flipped.
01:09
Ready for excess notation.
01:12
Now, excess notation, if we had a 1 with 4 zeros, that's going to be called, that's a regular 0.
01:20
Everything that's full of zeros is going to be negative 16.
01:25
And what we have as 01011 is negative 16 plus that 11 that we found earlier.
01:35
Negative 16 plus 11...