Please tell me you're a paid instructor, and that you're paid well. You deserve it! This isn't just a TH-cam series, this is a full fledged course Thank you!!
@@dendritedigital2430 TH-cam's monetization is a joke; they don't pay creators anywhere near industry standard. Half a *million* views is about $1,000 based on my experience making videos (and according to Social Blade he got $246 at worst, $2,000 at best). To get the avg salary of a Computer Science Professor he would need to do that 114 times a year (10 videos like this every month, excluding how many videos might be flops, excluding weekends, etc.) But that's an impossible expectation. This is his 9th most viewed video of all time. Social Blade estimates his revenue at $296 - $4.7k monthly (probably $2,500). That's minimum wage. I hope I'm wrong and he's getting more than that. I wonder if he has a Patreon?
I probably had two's compliment taught to me half a dozen times in college. I get how it works. The properties are nice. Not once has anyone ever told me "treat the sign bit as a -(2^n) bit." This is a borderline life-changing revelation.
Some people need to visualize things, which in turn gives deeper understanding of subjects. I found this video while i was searching for a better understanding of 2s compiment and 1000 == -8 was the piece i needed to feel i understand it, because it helped visualize the whole thing. And in turn visualize very basic ALU operations better.
@@alonebuthappy33 You use more bits :) If you have 4 bits and 1 is for sign, you actually have only 3 bits for numbers, so you can represent at most 0b111 = 7.
It really is. I'm reading Harris' "Digital Design and Computer Architecture" which covers binary numbers in chapter 1 and although it's a fantastic book, its explanation still falls short of Ben's. Ben really shows the logic behind the pattern for those of us who need it spelled out. Mr. Eater you the man.
the way you first worked with flawed methods and then built your way to show us why adding 1 to the one's complement works better was really amazing . thank you so much
My random opinion as a random person would be that: considering the fact that 1 is being subtracted from each bits. We end up getting it's negative version. But... Since the représentation is basically 1 less so after everything we have to add back this 1 that we have taken from. But that is not full fledged and doesn't explain the fact that we have taken 1 from each bit. But collectively add 1 and we get to the original result. It's odd fr. 🤷♂️
A couple of years ago I had to learn those things for university, and I did, and got a good score, but due to the fact that I'm going to be a SW Developer that programs microcontrollers, I had to re-learn these things and watching this I've realised that I didn't understand the complement method the way I was supposed to. My teacher just told us to add 1 and that's it and now, after 4 years, I have finally understood why. You are awesome. I really hope a lot more students watch your videos.
Especially because you have 4 bits so you can have 16 numbers. Given that 0 has no sign, you have to assign 1 more number to either positive or negative side.
It's not only -8 ;) when you have more bits the most significant bit is always treated as a negative value of the highest bit order. If you really compare the signed representation to 2s complement you'll find that the series just goes in reverse ;). And the extra negative number is there only because there is 1 zero
most just teach that 2 step process for getting negetive numbers but u explained how that 2s complement steps works thats really genius you are amazing brother
I see a lot of people with blown minds in the comments, at the fact that the "sign bit" is actually just a negative-valued bit. I'm *so glad* I was taught it like this in university. It just fit right into my head. It made sense from day one.
You are a hero in my book. Amazing how you present these video's, you keep it interesting and the build-up is just right. Keeping it interesting while teaching is important but I always think that making people feel smart while teaching is equally important. In my opinion you nail both.
Nice, you just said something that made sense. When I was in computer class in school, we were presented with a lesson on binary and it wasn't explained why these are one's or two's complement, just that is what they were called.
Another neat property of two's complement is sign extension. In some architectures you'll often find yourself converting a number between sizes. So for example, we have a 4-bit number we want to resize to an 8-bit number. 1010 = -6 When we extend the sign, what this means is when we convert to a larger number, every added bit copies the value of the most significant bit from the smaller number. 11111010 = -6 This also works on positive numbers: 0100 = 4 00000100 = 4 The only drawback is ou have to make sure your hardware does not keep trying to sign-extend on an unsigned number. 1000 = 8 (Unsigned) 11111000 = 248 (Unsigned) Fortunately, the same hardware used to drive signed number behavior in twos-complement should be able to also ensure sign extension only kicks in when it's in use.
I wanted to teach students how to solve pseudo-code and got stuck in bitwise operators. By far the clearest explanation of two's complement. Thank you, sir. I'll be teaching it exactly as you have done here.
I feel really smart now considering how my own professor refered our class to this video and in this video, you came to the same conclusion as I did when I realized that the negative numbers are just -8 + whichever positive number the remaining 3 bits represent.
I've watched several videos about twos complement and am in a CSCI 101 class where our professor explained it several times. This is the explanation that really landed for me. 10/10 would learn again
I remember at the digital logic lab when we had to design a 4-bit ALU that included logic AND, OR, XOR and add and sub, and with a 2-bit select signal we had to choose any one of the operations. As bonus, we had to build any other adder, except from ripple carry, display the result on a seven segment display in two digits and find a way to display the minus sign for negative numbers by using the third seven segment display and the negative numbers as positive ones next to the minus sign. I was the one who managed to do all these three, and I chose to implement a carry look ahead adder
Thank you very much Ben. I read about twos complement several times and didnt understand the logic behind it. You explained it in 10 minutes. I cant explain how much I appreciate your work. Thank you! 🙏
Thank youuuuuu, this has been confusing me about *why* we do it like this, and your -8 (or negative MSB) trick really makes it go from "a nuisance but necessary" to "check out this cool trick".
You are definitely one of the best teachers I've ever seen. Your ability to give concise and interesting explanations that are in-depth, yet devoid of jargon and any unnecessary minutiae is truly marvellous! Thanks a lot for your amazing work!
This is probably the best explanation of twos complement I've heard. My professor completely glossed over the meaning behind adding 1 and it never made sense to me. Thank you.
I've been desperately watching videos on yt trying to understand this but none of them could help me understand it at all. thank you very much for helping me w this.
You are a really good teacher, I studied electronics at college and this was apart of the course and the lecturer was no where near this level of explaining
I was 12 years old with a Timex-Sinclair 1000 which did BASIC and assembly. I had problems understanding the binary math, but assembly was fun. I dabbled with assembly again a few years ago, which really clears up some subtle things about C programming. I still found the complements thing confusing. This video put things together in just the right way, explaining the three ways. It all makes sense now. You make very good videos. Thank you.
Wish I had found your videos earlier in the semester. You've been better in a few minutes than my professor all semester. Click comment, but very true.
Just adding my voice to the choir Ben. I'm trying to learn assembly programming for the 6502, and yet again you've done a great job in teaching the fundamentals. Outstanding! Not just this video, but so many of them have been so helpful to me. I'm not as sharp as I used to be in my teens and I'm grateful for the pen and paper approach. I mean, if you can distil this sort of knowledge down to something that can be conveyed on pen and paper, it makes is so much more accessible to so many people. Just look at your video on the stack and stack pointer. Pen and paper! Thankyou for sharing your expertise with us all.
from this day onward, i will never tell myself im stupid, it's just a matter of what type of teaching and learning apply to me, YOUVE ANSWERED ALL THE QUESTIONS I HAVE IN MIND, THANK U SIIIIIRRRRRRRRRRRRRRRRRRRRR
My electronics engineering/ logic and digital systems design teacher took 2 hours and still couldn't explain what this man explained in 13 minutes in clear details.
Thanks for the very clear explanation! I randomly looked for this information while having no background knowledge and you made it understandable to me.
Thank you so much for this explanation, I've been struggling with this on the coursera "nand to tetris" course, this is by far the best explanation I can find. cheers.
Dear Ben, I did my Electronics degree in 1975 in Bolton UK and the instructor we had was from industry. Meaning? he was just like you...Absolutely brilliant. Thanks Ben you are an inspiration on how to tutor NOT teach !!!. By the way you sound just like my hero Roger McGuinn 😅
9:41 2's complement My lecturer sent us this video saying this guy can explain better than me. And indeed you are so much better. My instructor took like 30 min explaining this but youre quick and simple So basically flip all the signs and then add 1 and if we get an additional bit in the sub/add then ignore it
nice way to show. very clear, thank you. way1 show negative OK: 1 NG:5+(-5)=2 3:30 way2 show negative 4:37 OK : 5+(-5)=0 5:20 NG : 5+(-3)=1 7:20 way3 show negative 10:15
Video time: 12:15 To get the value (decimal numeral) of "looks like a sign bit" immediately, do this calculation: -(2^(n-1)) Where n is the number of bits you have. For example: If you have 16 bits, the calculation is: -(2^(16-1)) = -32768 Video time: 12:48 An easier way to get a negative value from a positive one, is to flip all the numbers starting from "looks like a sign bit" until you get to the last 1, leave it as a 1 (don't flip). The rest of the 0's after the last 1, leave it as a 0 (don't flip). 3 examples all in eight bits: A) 10 is 00001010 , so to get -10 in eight bits is 11110110 B) 20 is 00010100 , so to get -20 in eight bits is 11101100 C) 56 is 00111000 , so to get -56 in eight bits is 11001000
You are the best! I needed to learn exactly this!! I searched found some other video didn't like. When I saw a video recommended in the sidebar from you I didn't even finish the other video. And you did not disappoint! You started exactly with what I understand and then proceeded to show the different ways to encode a negative number! Man soooo good. Thank you so much Ben!
Thank you so, so much... I was reading my lecture and it was so confusing... Less than 14min later, your video makes everything so much clearer. Thank you
I honestly don't understand how and why 1111 can be both negative and positive value, but the explanation here is really straight forward. Thanks for the explanation.
12:06 Wow! This is the first time I'm seeing someone assigning a (negative) place value to the sign bit, and it makes sense indeed! :o :D And I thought that I won't learn anything new from a two's complement arithmetics video. Silly me... :D
Ones and twos complement: Ones complement, invert all the values. Twos complement, invert all values after the FIRST 1. e.g.: 010110111000 Ones complement: 101001000111 Twos complement: 101001001000
wowwwww......i have been struggling to understand this concept for the past 2 years each time when i had to do this....never occurred to me to youtube this topic.....thankyouuu!!!!
Please tell me you're a paid instructor, and that you're paid well. You deserve it! This isn't just a TH-cam series, this is a full fledged course Thank you!!
He used to be employed by Khan Academy. I'm not sure, maybe still is.
@@IvanEedle monetized youtube? He has 400K subscribers.
th-cam.com/video/pJ-zzHEsXZE/w-d-xo.html
2's complement shortcut
@@dendritedigital2430 TH-cam's monetization is a joke; they don't pay creators anywhere near industry standard. Half a *million* views is about $1,000 based on my experience making videos (and according to Social Blade he got $246 at worst, $2,000 at best). To get the avg salary of a Computer Science Professor he would need to do that 114 times a year (10 videos like this every month, excluding how many videos might be flops, excluding weekends, etc.) But that's an impossible expectation. This is his 9th most viewed video of all time. Social Blade estimates his revenue at $296 - $4.7k monthly (probably $2,500). That's minimum wage. I hope I'm wrong and he's getting more than that. I wonder if he has a Patreon?
@@ReasonMakes Patreon, Development Kits, etc...
I probably had two's compliment taught to me half a dozen times in college. I get how it works. The properties are nice. Not once has anyone ever told me "treat the sign bit as a -(2^n) bit." This is a borderline life-changing revelation.
@美遊エーデルフェルト why?
Some people need to visualize things, which in turn gives deeper understanding of subjects. I found this video while i was searching for a better understanding of 2s compiment and 1000 == -8 was the piece i needed to feel i understand it, because it helped visualize the whole thing. And in turn visualize very basic ALU operations better.
SAME HERE
@@crs-t how do we write positive 8 then 😅😅😅
@@alonebuthappy33 You use more bits :)
If you have 4 bits and 1 is for sign, you actually have only 3 bits for numbers, so you can represent at most 0b111 = 7.
By far the best explanation of two's complement.
especially the -8 part
@@oussamaelhriki8160 true
true
For sure!!
It really is. I'm reading Harris' "Digital Design and Computer Architecture" which covers binary numbers in chapter 1 and although it's a fantastic book, its explanation still falls short of Ben's. Ben really shows the logic behind the pattern for those of us who need it spelled out. Mr. Eater you the man.
the way you first worked with flawed methods and then built your way to show us why adding 1 to the one's complement works better was really amazing . thank you so much
This was buffling me for sometime.Thank you.
Been fiddling with bits for 20 years and I don't think i've ever seen this explained as clearly as this. The video is a joy to watch, great work!
A great way to explain not just the process of negative binary numbers but actually why two's complement is used.
Exactly!
My random opinion as a random person would be that: considering the fact that 1 is being subtracted from each bits. We end up getting it's negative version. But... Since the représentation is basically 1 less so after everything we have to add back this 1 that we have taken from. But that is not full fledged and doesn't explain the fact that we have taken 1 from each bit. But collectively add 1 and we get to the original result. It's odd fr. 🤷♂️
A couple of years ago I had to learn those things for university, and I did, and got a good score, but due to the fact that I'm going to be a SW Developer that programs microcontrollers, I had to re-learn these things and watching this I've realised that I didn't understand the complement method the way I was supposed to. My teacher just told us to add 1 and that's it and now, after 4 years, I have finally understood why. You are awesome. I really hope a lot more students watch your videos.
Oh my gosh the two's compliment is beautiful and I realized this at 12:18 that -8 makes so much sense
Especially because you have 4 bits so you can have 16 numbers. Given that 0 has no sign, you have to assign 1 more number to either positive or negative side.
It's not only -8 ;) when you have more bits the most significant bit is always treated as a negative value of the highest bit order. If you really compare the signed representation to 2s complement you'll find that the series just goes in reverse ;). And the extra negative number is there only because there is 1 zero
i didnt understand it until this timestamp thanks lol
Wow, best explanation ever. You explained it! In school they just say, here is the Two's complement, take it and don't ask why it works.
This is far better explanation than the paid course at my university. Thank you so much.
most just teach that 2 step process for getting negetive numbers
but u explained how that 2s complement steps works
thats really genius
you are amazing brother
I see a lot of people with blown minds in the comments, at the fact that the "sign bit" is actually just a negative-valued bit. I'm *so glad* I was taught it like this in university. It just fit right into my head. It made sense from day one.
Been searching articles for more than 30 mins and didn't find any good ones and later found this . Easy and clear explaination . Thanks a lot
I never understood the need for 2's compliment before this video
Thank you so much
I have sat through a few bad explanations of what's going on here... probably due to the tutor/lecturer not understanding it themselves.
THANK YOU. I have been taught this by 2 instructors at a college. NONE of them simplified this like you did. IT FINALLY CLICKED!!!
You are a hero in my book. Amazing how you present these video's, you keep it interesting and the build-up is just right. Keeping it interesting while teaching is important but I always think that making people feel smart while teaching is equally important. In my opinion you nail both.
Thomas Cremers couldn’t have put it better
Nice, you just said something that made sense.
When I was in computer class in school, we were presented with a lesson on binary and it wasn't explained why these are one's or two's complement, just that is what they were called.
That moment when you find a great channel, but the last upload is 2 months ago. And then the next day 3 videos go up.
wat
Another neat property of two's complement is sign extension.
In some architectures you'll often find yourself converting a number between sizes. So for example, we have a 4-bit number we want to resize to an 8-bit number.
1010 = -6
When we extend the sign, what this means is when we convert to a larger number, every added bit copies the value of the most significant bit from the smaller number.
11111010 = -6
This also works on positive numbers:
0100 = 4
00000100 = 4
The only drawback is ou have to make sure your hardware does not keep trying to sign-extend on an unsigned number.
1000 = 8 (Unsigned)
11111000 = 248 (Unsigned)
Fortunately, the same hardware used to drive signed number behavior in twos-complement should be able to also ensure sign extension only kicks in when it's in use.
O:
my mind has been blown for the second time today
This is by far the clearest explanation on the topic I've ever come across, every digital design book needs to footnote you.
I wanted to teach students how to solve pseudo-code and got stuck in bitwise operators. By far the clearest explanation of two's complement. Thank you, sir. I'll be teaching it exactly as you have done here.
I feel really smart now considering how my own professor refered our class to this video and in this video, you came to the same conclusion as I did when I realized that the negative numbers are just -8 + whichever positive number the remaining 3 bits represent.
I've watched several videos about twos complement and am in a CSCI 101 class where our professor explained it several times. This is the explanation that really landed for me. 10/10 would learn again
i love how you explain everything bit by bit
I see what you did there
I remember at the digital logic lab when we had to design a 4-bit ALU that included logic AND, OR, XOR and add and sub, and with a 2-bit select signal we had to choose any one of the operations. As bonus, we had to build any other adder, except from ripple carry, display the result on a seven segment display in two digits and find a way to display the minus sign for negative numbers by using the third seven segment display and the negative numbers as positive ones next to the minus sign. I was the one who managed to do all these three, and I chose to implement a carry look ahead adder
Thank you very much Ben. I read about twos complement several times and didnt understand the logic behind it. You explained it in 10 minutes. I cant explain how much I appreciate your work. Thank you! 🙏
Thank youuuuuu, this has been confusing me about *why* we do it like this, and your -8 (or negative MSB) trick really makes it go from "a nuisance but necessary" to "check out this cool trick".
the realisation that 8's coulumn is actually -8's coulumn has saved me here. Thanks so much.
You are definitely one of the best teachers I've ever seen. Your ability to give concise and interesting explanations that are in-depth, yet devoid of jargon and any unnecessary minutiae is truly marvellous! Thanks a lot for your amazing work!
I finally understood why ones complement wasn't good enough and why twos complement was needed. Thank you!!
I have to say, even if it's an older video, the way you teach stuff is a real eye catcher, simple to get and understand.
This is probably the best explanation of twos complement I've heard. My professor completely glossed over the meaning behind adding 1 and it never made sense to me. Thank you.
My class didn't explain this, so I jumped right to youtube, and knew your words would be the winner, wonderful explination, and many thanks!
I've been desperately watching videos on yt trying to understand this but none of them could help me understand it at all. thank you very much for helping me w this.
Sir you are the best. Other teachers just explain the topic but you have tell the logic behind it excellent sir
You are a really good teacher, I studied electronics at college and this was apart of the course and the lecturer was no where near this level of explaining
I was 12 years old with a Timex-Sinclair 1000 which did BASIC and assembly. I had problems understanding the binary math, but assembly was fun. I dabbled with assembly again a few years ago, which really clears up some subtle things about C programming. I still found the complements thing confusing. This video put things together in just the right way, explaining the three ways. It all makes sense now.
You make very good videos. Thank you.
I've tried to understand two's compliment before with no luck. This is the first time its made sense. Thanks!
Wish I had found your videos earlier in the semester. You've been better in a few minutes than my professor all semester. Click comment, but very true.
Just adding my voice to the choir Ben. I'm trying to learn assembly programming for the 6502, and yet again you've done a great job in teaching the fundamentals. Outstanding! Not just this video, but so many of them have been so helpful to me. I'm not as sharp as I used to be in my teens and I'm grateful for the pen and paper approach. I mean, if you can distil this sort of knowledge down to something that can be conveyed on pen and paper, it makes is so much more accessible to so many people. Just look at your video on the stack and stack pointer. Pen and paper! Thankyou for sharing your expertise with us all.
Was watching this to prepare for an interview, and it completely blew my mind, thanks!
THIS IS THE BEST EXPLANATION EVER ! I LITERALLY LOGGED ON TO COMMENT ON THIS VIDEO.
KEEP UP THE MIND BLOWING WORK
The best explanation i have ever seen so far on 2's complement.
from this day onward, i will never tell myself im stupid, it's just a matter of what type of teaching and learning apply to me, YOUVE ANSWERED ALL THE QUESTIONS I HAVE IN MIND, THANK U SIIIIIRRRRRRRRRRRRRRRRRRRRR
Excellent video and just for everyone's' knowledge, in One's Compliment arithmetic, you take your carry-over bit and add it back in on the right side.
My university teacher never explained me like this. Thank you very much sir. This is the best explanation on 2's compliment.
Very nice...generally people explain how to take 1s and 2s complement, but dont explain the science or the logic behind it. Great Work!!
My electronics engineering/ logic and digital systems design teacher took 2 hours and still couldn't explain what this man explained in 13 minutes in clear details.
Really this is the best video in youtube for understanding 1's and 2's complement. Love from India.
The best presentation of negative numbers in binary! Thank you so much!
Thanks for the very clear explanation! I randomly looked for this information while having no background knowledge and you made it understandable to me.
I'd never thought of the high bit in two's complement as meaning -(2^(n-1)) before. That's incredibly useful. Thank you so much!
I am an ICT Instructor. I will provide the same lesson tomorrow in my class. Wonderful teaching method 💜
You’re literally my favorite teacher!!! Learned more about computer fundamentals from this series than years of searching around the internet
Where were you when I was in college? Awesome explanation
Thank you so much for this explanation, I've been struggling with this on the coursera "nand to tetris" course, this is by far the best explanation I can find. cheers.
I've been struggling with this concept for a long time, but your explanation has now made it very clear to me. Thank you.
We went over ones and twos complement in my assembly class and had no idea why. Thanks!
Dear Ben, I did my Electronics degree in 1975 in Bolton UK and the instructor we had was from industry. Meaning? he was just like you...Absolutely brilliant. Thanks Ben you are an inspiration on how to tutor NOT teach !!!. By the way you sound just like my hero Roger McGuinn 😅
9:41 2's complement
My lecturer sent us this video saying this guy can explain better than me. And indeed you are so much better. My instructor took like 30 min explaining this but youre quick and simple
So basically flip all the signs and then add 1 and if we get an additional bit in the sub/add then ignore it
I don't know how to say thank you. You made this really simple. Some books and videos were driving me nuts ! God bless you man !
How lucky am I that I landed here on a cursory search of how negative binary numbers work? Liked and subscribed!!
You did a better job at explaining this than the lecturer at my university, thank you.
Incredible teaching! Recommending this to everyone in my computer architecture class and anyone interested!
did university teachers leave so many dislikes because they are jealous how this guy easily explains hard concepts for free ?
This the best video in the aspect of explaining binary numbers in the world!
nice way to show. very clear,
thank you.
way1 show negative
OK: 1
NG:5+(-5)=2 3:30
way2 show negative 4:37
OK : 5+(-5)=0 5:20
NG : 5+(-3)=1 7:20
way3 show negative 10:15
Glad to see this series continuing
Unbelievable how good your explanation is. It makes it look so easy.
Best video so far about the 1s and 2s compliment .I hope my tomorrows exam goes well thanks bud !!
This is by far the best explanation of this concept on the internet. Thank you so much!
Video time: 12:15
To get the value (decimal numeral) of "looks like a sign bit" immediately, do this calculation: -(2^(n-1))
Where n is the number of bits you have. For example: If you have 16 bits, the calculation is: -(2^(16-1)) = -32768
Video time: 12:48
An easier way to get a negative value from a positive one, is to flip all the numbers starting from "looks like a sign bit" until you get to the last 1, leave it as a 1 (don't flip). The rest of the 0's after the last 1, leave it as a 0 (don't flip).
3 examples all in eight bits:
A) 10 is 00001010 , so to get -10 in eight bits is 11110110
B) 20 is 00010100 , so to get -20 in eight bits is 11101100
C) 56 is 00111000 , so to get -56 in eight bits is 11001000
This has helped me to implement a binary indexed tree efficiently. Thanks!
Yesterday night I was suffering so much because of this binary calculation,but thanks to you everything is going so well now.
Hope to see more.
You are the best! I needed to learn exactly this!! I searched found some other video didn't like. When I saw a video recommended in the sidebar from you I didn't even finish the other video. And you did not disappoint! You started exactly with what I understand and then proceeded to show the different ways to encode a negative number! Man soooo good. Thank you so much Ben!
Don't know what should i call it.... May be perfect is a comparative word. Absolutely perfect.
This video and the assembly to c code video might take the crown for most saved computer architecture exams😊
So nicely explained, now I understand the whole story behind two's complement.. this video made my day. thanks a lot !!
One of the best explanations for binary numbers..
WOW. Thank you. This is the most helpful two's complement lesson I've ever seen. I finally understand.
I love that you started with a simple but incorrect version to show the progression of the idea
My God...This video is revolutionary. Where did u learn all of this😮😮😮. This is just fascinating!!!
man that lecture is super awesome and oversimplified
I couldn't find the next video man :D
P.s It is!
Thank you so, so much... I was reading my lecture and it was so confusing... Less than 14min later, your video makes everything so much clearer. Thank you
Truely, this is the best video for 2's complement explanation
Your explanation is getting me through my circuits class, well done sir!
This is a fantastic explanation. So clear. This is the best explanation I have seen yet on TH-cam.
I honestly don't understand how and why 1111 can be both negative and positive value, but the explanation here is really straight forward. Thanks for the explanation.
Thank you for these videos. I just started electronical engineering school and don´t always get everything right away, your channel really helps.
12:06 Wow! This is the first time I'm seeing someone assigning a (negative) place value to the sign bit, and it makes sense indeed! :o :D And I thought that I won't learn anything new from a two's complement arithmetics video. Silly me... :D
This blew my mind. I wish I was taught this earlier
very wonderful
@@MozartJunior22 for real
I kid you not, I think it's the best explanation on the internet. Thanks!
Ones and twos complement:
Ones complement, invert all the values.
Twos complement, invert all values after the FIRST 1.
e.g.:
010110111000
Ones complement:
101001000111
Twos complement:
101001001000
Wow,Amazing this helped me a lot.Thanks
Here's a simple on
One's Complement : Invert all values
2's Complement : Add 1 to the one's complement
ty, this video of 13 min is what i needed. not multiple 2-hour lectures of nonsense
This is the first time this has ever made sense to me. Thank you.
tomm. is my exam and coming here is a choice that i will never regret! Great work!
The best practical explanation I've seen on the subject. Thank you.
The best teacher! Making the complex simple to understand!
wowwwww......i have been struggling to understand this concept for the past 2 years each time when i had to do this....never occurred to me to youtube this topic.....thankyouuu!!!!
Finally someone that makes sense and explains it properly. Thanks.
This is the best video on this topic that I found on TH-cam. Going to send to my students -- thanks!
No one ever told me about the place value trick. Completely blew me away when you pointed that out 👀