If I've understood this correctly: We want to add A + B (where A and B can both be negative or positive). We get overflow if: left-most bit (MSB) of A is equal to MSB of B, and MSB of both A and B is NOT equal to MSB of the sum. Yes?
Thanks alot!! Make some more videos multiplexing, modulation tecquniques, logic circuit, arinc the works. People will start putting adds on ur youtube account and website and you will make some money....
Thank you for posting part 1 and 2. I'd forgotten how to work Twos Complement. I've started restoring a PDP8/e and the op codes are all twos complement.
So if -1 is represented as 111 in two's complement, does it matter if you increase the number of bits to make 8 (11111111)? Or would it still be -1? If so, does increasing the number of bits in two's complement not make a difference in the value of the greatest number that could be represented?
Keep in mind that the greatest number that can be represented would not be 1111 1111 in an 8-bit system. The largest number possible would be 0111 1111, the leading zero makes that a positive number, and you can read the rest of it like normal binary.
0111 1111 = 127
just like normal
re-watch the vid:
@1:44 he talks about the things implied in 2's complement
@2:18 the smallest # (largest absolute value, but negative #'s are small)
I have a quick question: 111 = -1 using two's compliment, but 111 can also represent the decimal number 7. How does the system know whether it's supposed to be -1 or 7?
Nothing in some arbitrary binary value will tell you how to interpret the value. You must know how the value is to be interpreted (2's complement, unsigned, sign and magnitude, etc). If I have 16 arbitrary bits, they may represent ASCII text, UNICODE, a 2's complement signed integer, unsigned integer, etc. If you know the 3 bit system represents all numbers as unsigned integers, then 111 would be interpreted as 7, if 2's complement then 111 would be interpreted as -1.
Can you explain why exactly are they being called "one's" and "two's-complement"? Is it because of the steps it takes to define positive and negative values?
You need to get yourself a tripod!
celticmagnum 12 hours ago in playlist More videos from protowise
you're awesome. I'm a returning student so i haven't seen this material in 15 or so years. You were clear concise and did i mention, awesome! thanks
gimmedaloot754 1 week ago
BINARY JESUS
YourVertigoso 1 week ago
Wow, i really understood that! My books never gave an answer.
Good Job!!! Please go on making videos!
Capone2901 2 weeks ago
Thanks alot
nuclear181 2 weeks ago
Thank you so much man. Very informative
overscoreSX 2 weeks ago
thanks for the video, it helped out
helofrind 1 month ago
great video really helped!
garicho 1 month ago
Wish the glare off of the board wasn't so bad. Otherwise, excellent video
PoMPyroLoL 1 month ago
this is extremely helpful.
HenryHeve 1 month ago
If I've understood this correctly: We want to add A + B (where A and B can both be negative or positive). We get overflow if: left-most bit (MSB) of A is equal to MSB of B, and MSB of both A and B is NOT equal to MSB of the sum. Yes?
MinecraftPuzzleMaps 1 month ago
whats -19 in seven bit two's comp?
VerySimpo 1 month ago
thanks soooo much it helped me a lot :P
loumiakas 1 month ago
test
05:21
ShokoDemon 2 months ago
Thank you sooo much
nisalraji 2 months ago
man keep going and make some more videos about digital design :)
URAL290 2 months ago
Please make more! Your videos explain these techniques so simply!
a30nC 2 months ago
Thank you! Nice video! Keeping it simple with easy to understand examples
stawbewii 3 months ago
Great videos. Would love to see the same for floating points & IEE Standard 754.
The20khz 3 months ago 2
I had an AHA! moment. Thanks so much!
7thrx 3 months ago 8
Thank you!
kuhkoa 3 months ago
so this means this system only supports for numbers from -4 to 3?
sanjay19961026 4 months ago
@sanjay19961026 Only if it is a 3 bit system.
djentblast19 4 months ago
Comment removed
sanjay19961026 4 months ago
bravo
mazdyabosoraya 4 months ago
Thank you very much - great presentation
PatziWinter 4 months ago
Very helpful, thanks
koruptwon 4 months ago
excellent explanation! Thanks!
rolex408 4 months ago
What a great explanation! Looking forward to more videos like this!
jessica507 4 months ago
Great teacher. Sad to see only these videos on his channel :(
WikiPeoples 4 months ago
I wish you were a teacher at my school...your explanation was so much better than my professors
DrDan021 4 months ago
Absolutely, best explanation!!! I wish you were teaching my computer architecture class...
r0by 5 months ago
Best explanation I've seen. Thanks.
TheJoeReisExperience 5 months ago
Amazing! I have an exam in 3 hours, and 2 complement is a possible sub question. This vid saved me 30 extra min of sleep! Tnx a lot
AntonShumin 5 months ago
Great job, sir! I needed help on SM, 1C and 2C and this video absolutely cleared my concepts. Keep it up! God bless you!
waisybabu 5 months ago
You're a very great teacher. Way better than the one I am paying for... Shutup and take my money.
intotheoutro 5 months ago
Thanks alot!! Make some more videos multiplexing, modulation tecquniques, logic circuit, arinc the works. People will start putting adds on ur youtube account and website and you will make some money....
azizeqab 5 months ago
Thanks!! :)
Meedesign 6 months ago
this was brilliant now i have an understanding of it to apply it to an adder subtracter in minecraft
probscus 6 months ago
Great video, helps a lot. Wish you would make more!
AlexanderLee1 6 months ago
I feel your explanation lacks mathematical rigor... I'd like to know the math that makes this system work.
Gaiacarra 6 months ago
I wish you were my teacher. Now i know so very much more, thanks
stoffe1100 7 months ago
Well explained Dave. Thank you very much for this. My first semester Math instructor couldn't explain this concept as well as you did.
dodgeshelbyviper 7 months ago
good stuff for exam preparation
IMPMAC 7 months ago
yesss. now i understand twos compliment fairly well for my computer science final tonight. thanks.
sagark91 8 months ago
A level computing is hard!!!!!! .....this is college level.....
sony827 8 months ago
This has been flagged as spam show
thanks, i will subscribe
Wearhat4life 8 months ago
Excellent video -- thanks so much.
mwtillotson 9 months ago
Great video. Good pace, very instructional and easy to follow. Appreciate the video and keep it up!
TheEazyM3 10 months ago
wow this was really helpful! :D
but the example of -4 -3 = -7 doesn't indicate an overflow, it indicates an underflow
NoorPerry 10 months ago
@NoorPerry Overflow means out of bounds error
natlawns 10 months ago
@natlawns
then when do we use the term "underflow" ?
NoorPerry 10 months ago
Sir, it's "complement" not "compliment"!
Anyways, Sir, you are great teacher though!!
hzmtk22 10 months ago
Thank you so much!
leahcim165 10 months ago
You are the man!
b0ondockz 11 months ago
Amazing, 1 week of reading $120 textbook explained in 20min video!
If I can return a toaster because it doesn't make toast, why can't I return the book that says it will teach me binary but it doesn't!
leok31 11 months ago 11
nice thanks
shortlthug88 11 months ago
This has been flagged as spam show
Thank you for introducing the overflow part
d0nunit 11 months ago
Thank you for introducing the overflow part
t
d0nunit 11 months ago
Thank you that was very helpful
AbdullaShamsuddin 1 year ago
It's all so clear now!
I can't believe I paid all that money for a silly textbook that can't even make something THIS SIMPLE comprehensible.
Thank you! :)
SveinbjornGeirsson 1 year ago
Thank you for posting part 1 and 2. I'd forgotten how to work Twos Complement. I've started restoring a PDP8/e and the op codes are all twos complement.
kellingc 1 year ago
fantastic stuff!! much better, clearer to teach with a 8-bit system in my lessons
chingyan01 1 year ago
thanks dude!! You are the mad note!
ptrakk 1 year ago
you rocked 15 pages of my confusing text
THE16THPHANTOM 1 year ago
Thank you very much
WorldHK 1 year ago
i love you man
theman1992 1 year ago
Thank you a lot. That's really helpful.
hamad2k 1 year ago
excellent work .... i wish i had professor like u .... Thanks a lot.
MAYBACK10 1 year ago
Excellent explanation.
ImOneCrazyFucker 1 year ago
Great video! helped with my CS homework! Thanks!
mwmnjs 1 year ago
So if -1 is represented as 111 in two's complement, does it matter if you increase the number of bits to make 8 (11111111)? Or would it still be -1? If so, does increasing the number of bits in two's complement not make a difference in the value of the greatest number that could be represented?
caroleabumoussa 1 year ago
@caroleabumoussa
Keep in mind that the greatest number that can be represented would not be 1111 1111 in an 8-bit system. The largest number possible would be 0111 1111, the leading zero makes that a positive number, and you can read the rest of it like normal binary.
0111 1111 = 127
just like normal
re-watch the vid:
@1:44 he talks about the things implied in 2's complement
@2:18 the smallest # (largest absolute value, but negative #'s are small)
@2:30 he talks about the largest #
thon7734 1 year ago
I finally understand.
caesiume 1 year ago
keep the videos coming!
dallashawks 1 year ago
Thank you SO MUCH dave collins guy. You just saved me in digital logic.
Any relation to phil collins? sorry, had to ask.
TaylorHolmes 1 year ago
thank you man, this really helps me!
creativefla 1 year ago
thanks;
i did not get it at school
and the proff. made 0110100-00011001=01001101 (100-25=77) the idiot! he complemented the one hundred then added one.
marobra00 1 year ago
Thanks you ! Very good.
munmanito 1 year ago
I can't thank you enough for this, it's really helped me with my exam preparation for tomorrow's computing exam.
Keep up the good work, your videos are by far the most easy to understand (and learn from) out of any computing videos I've seen so far!
hawkins81 1 year ago
Thx alot , this was very informitive and easy to understand, it helped me alot, thx once again and keep up the great work !
Fruitzii 1 year ago
Thank you thank you thank you!!! It was so much easier to see your two videos and understand than reading it in my chapter!!
rachelm920 1 year ago
thanks man :)
NEOX71 1 year ago
Thank you!
harmtouch 1 year ago
what can I say thanks
ocholoco85 1 year ago
Very cool. Again, very easy to understand with this presentation.
TheSkepticalAtheist 2 years ago
you are great. thank you dave collins
somanyBEARS 2 years ago
Wow that was great. Really clear with everythng. and now i understand it
BardicCircle 2 years ago
brilliant thanks. Really clear.
DomFinn 2 years ago
thanks for the videos, these were very clear
skcin7 2 years ago
Thanks man, very clear and very helpful. You should be a teacher. Ah well, maybe you are.
Rikv01 2 years ago
superb lecture
vamshi92 2 years ago
AWESOME MAN!! you should do the entire number theory.
pensego 2 years ago
You have the same name as me which is weird... But this is VERY useful, thanks so much
0219802198 2 years ago
lol, explained so much better than my college tutor. thanks
liamgreener 2 years ago
Nice vids, very sleek production! I like the ar15 under your monitor. Maybe propositional logic next? Can't wait for more!
alex871uk 2 years ago
I have a quick question: 111 = -1 using two's compliment, but 111 can also represent the decimal number 7. How does the system know whether it's supposed to be -1 or 7?
KosmicFlux 2 years ago 4
Nothing in some arbitrary binary value will tell you how to interpret the value. You must know how the value is to be interpreted (2's complement, unsigned, sign and magnitude, etc). If I have 16 arbitrary bits, they may represent ASCII text, UNICODE, a 2's complement signed integer, unsigned integer, etc. If you know the 3 bit system represents all numbers as unsigned integers, then 111 would be interpreted as 7, if 2's complement then 111 would be interpreted as -1.
protowise 2 years ago 10
Comment removed
Elliot67876 3 months ago
Wow, I'm stunned. Thanks Dave. This cannot be made any clearer. Also, very kind of you. Thanks again, and again, and again.
EdwinC1000 2 years ago
This was super clear! I hope you make more videos in the future
hyp3o 2 years ago
Can you explain why exactly are they being called "one's" and "two's-complement"? Is it because of the steps it takes to define positive and negative values?
GiGaMoG 2 years ago
thanks, rather i do my homework, i watch youtube videos :D that helps me with work :D
nikisxxll 2 years ago
thnx for that man !! plz make more vids on number systems !!! i appreciate it !
DSKGSAKDG 2 years ago
great work . thanks...
niroshan91 2 years ago
These videos were very helpful, I had no idea what two's compliment was prior to viewing these and now I feel like an expert! Thanks!
ThomasCountz 2 years ago
Nice break from my text book... Thanks.
nateaus 2 years ago 22
Again, very helpful. 5
TheWater911 2 years ago