Please tell me you're a paid instructor, and that you're paid well. You deserve it! This isn't just a KZbin series, this is a full fledged course Thank you!!
@IvanEedle7 жыл бұрын
He used to be employed by Khan Academy. I'm not sure, maybe still is.
@dendritedigital24305 жыл бұрын
@@IvanEedle monetized youtube? He has 400K subscribers.
@@dendritedigital2430 KZbin'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?
@dendritedigital24304 жыл бұрын
@@ReasonMakes Patreon, Development Kits, etc...
@SJohnTrombley5 жыл бұрын
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.
@jetison3335 жыл бұрын
@美遊エーデルフェルト why?
@crs-t5 жыл бұрын
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.
@mayukhbera5 жыл бұрын
SAME HERE
@alonebuthappy335 жыл бұрын
@@crs-t how do we write positive 8 then 😅😅😅
@salesv4 жыл бұрын
@@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.
@livium91848 жыл бұрын
By far the best explanation of two's complement.
@oussamaelhriki81604 жыл бұрын
especially the -8 part
@NoOne-oz7lc3 жыл бұрын
@@oussamaelhriki8160 true
@focus-freaks3 жыл бұрын
true
@srivatsarupadhya61163 жыл бұрын
For sure!!
@Shredcheddar Жыл бұрын
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.
@hasnaa73162 жыл бұрын
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
@andilemdunge79113 ай бұрын
This was buffling me for sometime.Thank you.
@mariobrito4276 жыл бұрын
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!
@TF2Gaming1015 жыл бұрын
Oh my gosh the two's compliment is beautiful and I realized this at 12:18 that -8 makes so much sense
@Fera-gr5mm4 жыл бұрын
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.
@swarnavasamanta26283 жыл бұрын
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
@curie53123 жыл бұрын
i didnt understand it until this timestamp thanks lol
@ankitchauhan-rv1crАй бұрын
oh man! This has to be the best explanation on the entire youtube. This bit manipulation and hardware architecture can make anyone crazy but you handled it absolutely correctly :)
@CastorTroy2125 жыл бұрын
This is far better explanation than the paid course at my university. Thank you so much.
@adrianolariu37677 жыл бұрын
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.
@tomc6426 жыл бұрын
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.
@razsamy42747 жыл бұрын
A great way to explain not just the process of negative binary numbers but actually why two's complement is used.
@Kokurorokuko2 жыл бұрын
Exactly!
@zakariatalukdar2552 Жыл бұрын
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. 🤷♂️
@akshanshkmr5 жыл бұрын
I never understood the need for 2's compliment before this video Thank you so much
@gorillaau5 жыл бұрын
I have sat through a few bad explanations of what's going on here... probably due to the tutor/lecturer not understanding it themselves.
@TechnoSan092 жыл бұрын
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
@thepvporg6 жыл бұрын
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.
@RetroHoo7 жыл бұрын
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.
@הסרטוןהשבועי5 жыл бұрын
Thomas Cremers couldn’t have put it better
@YaroKasear4 жыл бұрын
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.
@bluesillybeard4 жыл бұрын
O: my mind has been blown for the second time today
@nicholasantonini67304 жыл бұрын
THANK YOU. I have been taught this by 2 instructors at a college. NONE of them simplified this like you did. IT FINALLY CLICKED!!!
@darshanbilana53383 жыл бұрын
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
@indjev998 жыл бұрын
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.
@SpaceJesus256 жыл бұрын
wat
@PhoenixClank5 жыл бұрын
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.
@alejskates22873 жыл бұрын
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.
@vivekvijaykumar433 жыл бұрын
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.
@samuelstermer64374 жыл бұрын
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
@dnjj18452 жыл бұрын
This is by far the clearest explanation on the topic I've ever come across, every digital design book needs to footnote you.
@almasabdrazak50893 жыл бұрын
did university teachers leave so many dislikes because they are jealous how this guy easily explains hard concepts for free ?
@hypergiray22255 жыл бұрын
the realisation that 8's coulumn is actually -8's coulumn has saved me here. Thanks so much.
@indigoHatter3 жыл бұрын
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".
@majeebsharif61915 жыл бұрын
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
@RishabhKumar-bn4qj6 жыл бұрын
THIS IS THE BEST EXPLANATION EVER ! I LITERALLY LOGGED ON TO COMMENT ON THIS VIDEO. KEEP UP THE MIND BLOWING WORK
@gaiusjuliuscaesar92963 жыл бұрын
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.
@willsi6 жыл бұрын
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.
@shrinathbhoslay30147 жыл бұрын
My university teacher never explained me like this. Thank you very much sir. This is the best explanation on 2's compliment.
@szyszkienty5 жыл бұрын
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!
@ayasswain7 жыл бұрын
The best explanation i have ever seen so far on 2's complement.
@Akahatoo4 жыл бұрын
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.
@rajeshmeher40172 жыл бұрын
Thanks
@BloodAsp4 жыл бұрын
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!
@jmckinney00403 жыл бұрын
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!
@l6e6i6n4 жыл бұрын
i love how you explain everything bit by bit
@Shockload11 ай бұрын
I see what you did there
@DavidCourtney8 жыл бұрын
Glad to see this series continuing
@Longuncattr7 жыл бұрын
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!
@ayushjindal49816 жыл бұрын
Very nice...generally people explain how to take 1s and 2s complement, but dont explain the science or the logic behind it. Great Work!!
@thecurious6721 Жыл бұрын
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! 🙏
@greatoutdoors63184 жыл бұрын
I've tried to understand two's compliment before with no luck. This is the first time its made sense. Thanks!
@Luiza-fy2og2 жыл бұрын
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.
@reblackened2 жыл бұрын
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.
@AlexBlack-xz8hp3 жыл бұрын
You’re literally my favorite teacher!!! Learned more about computer fundamentals from this series than years of searching around the internet
@cipherswamiАй бұрын
So many videos out there. They are just telling what to do, but why they are doing no one knows. This video is what i am looking for 👍🏻
@Kokurorokuko2 жыл бұрын
I finally understood why ones complement wasn't good enough and why twos complement was needed. Thank you!!
@CrispyCircuits8 ай бұрын
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.
@hanzofactory2 жыл бұрын
Was watching this to prepare for an interview, and it completely blew my mind, thanks!
@aldrineusebio1926 жыл бұрын
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
@SaySaySee6 жыл бұрын
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
@randybobandy92084 жыл бұрын
13:06 My professor always had us yell, "Flip those bits!" when talking about twos complement. :D Great video!
@chrishadjipetris60592 жыл бұрын
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
@codewaz3 жыл бұрын
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
@abdulazizmohammed77152 жыл бұрын
This has helped me to implement a binary indexed tree efficiently. Thanks!
@stephenesebre79086 жыл бұрын
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 !
@den39173 жыл бұрын
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
@rafihayder Жыл бұрын
I am an ICT Instructor. I will provide the same lesson tomorrow in my class. Wonderful teaching method 💜
@osscar297 жыл бұрын
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.
@expansivegymnast10203 жыл бұрын
This is by far the best explanation of this concept on the internet. Thank you so much!
@-303-3 жыл бұрын
This is a fantastic explanation. So clear. This is the best explanation I have seen yet on KZbin.
@tonyashworth15004 жыл бұрын
I've been struggling with this concept for a long time, but your explanation has now made it very clear to me. Thank you.
@julinization7 жыл бұрын
Where were you when I was in college? Awesome explanation
@vikasbhandari2574 жыл бұрын
Sir you are the best. Other teachers just explain the topic but you have tell the logic behind it excellent sir
@kumarAjitesh2 жыл бұрын
Really this is the best video in youtube for understanding 1's and 2's complement. Love from India.
@lefauteuilparesseux7328 Жыл бұрын
Thanks for the very clear explanation! I randomly looked for this information while having no background knowledge and you made it understandable to me.
@Mekinhumbel6 жыл бұрын
How lucky am I that I landed here on a cursory search of how negative binary numbers work? Liked and subscribed!!
@hakarali62896 жыл бұрын
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.
@lemtzas5 жыл бұрын
This is the first time this has ever made sense to me. Thank you.
@warecamel7 жыл бұрын
You did a better job at explaining this than the lecturer at my university, thank you.
@AAAAAA-es1rm6 жыл бұрын
This is the best explanation ever for 2s complement. It made me understand 2s complement and the other ways of representing negative numbers for my university course. The same goes for all your other videos which I use to revise for Electronics. I hope you upload more videos in the future with new content for Electronics Engineering and, if possible, in Maths and other Engineering areas. Thank you for this video.
@vegetaiv92752 ай бұрын
The best presentation of negative numbers in binary! Thank you so much!
@deqnski890able6 жыл бұрын
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
@RupeshRam-0138 ай бұрын
Best video so far about the 1s and 2s compliment .I hope my tomorrows exam goes well thanks bud !!
@eternalblithe3 жыл бұрын
WOW. Thank you. This is the most helpful two's complement lesson I've ever seen. I finally understand.
@BK-tv4mw4 жыл бұрын
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.
@DontTakeCrack3 жыл бұрын
ty, this video of 13 min is what i needed. not multiple 2-hour lectures of nonsense
@犬-d2c3 жыл бұрын
Super video! I applauded for ¥200 👏
@rangita27 жыл бұрын
This is the best video on this topic that I found on KZbin. Going to send to my students -- thanks!
@taipo1019 ай бұрын
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 😅
@schoolForAnts5 жыл бұрын
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.
@montexto693 жыл бұрын
Unbelievable how good your explanation is. It makes it look so easy.
@lazarus6983 Жыл бұрын
This video and the assembly to c code video might take the crown for most saved computer architecture exams😊
@leander116 жыл бұрын
Thank you for these videos. I just started electronical engineering school and don´t always get everything right away, your channel really helps.
@ServitorSkull4 жыл бұрын
We went over ones and twos complement in my assembly class and had no idea why. Thanks!
@bemep0k5 ай бұрын
I kid you not, I think it's the best explanation on the internet. Thanks!
@kunpeng86464 жыл бұрын
This the best video in the aspect of explaining binary numbers in the world!
@DanhWasHere5 жыл бұрын
Incredible teaching! Recommending this to everyone in my computer architecture class and anyone interested!
@alexanderelea80324 жыл бұрын
Your explanation is getting me through my circuits class, well done sir!
@kingshukcs Жыл бұрын
My God...This video is revolutionary. Where did u learn all of this😮😮😮. This is just fascinating!!!
@ingdabit6 жыл бұрын
Finally someone that makes sense and explains it properly. Thanks.
@nitishkushwaha38212 жыл бұрын
So nicely explained, now I understand the whole story behind two's complement.. this video made my day. thanks a lot !!
@bpccmath251calculusiihitch44 жыл бұрын
First video of yours that I've seen. It was so great that I subbed immediately. GREAT explanation: short, simple, to the point, and, above all, it connects all the dots!
@celstone3 жыл бұрын
Super video! I applauded for €2.00 👏
@girlmath-abolisher5 жыл бұрын
Thank you so much for the video and your beautiful explanation. I have always 'understood' complements but never really been able to grasp the fundamental significance. This video changed that. Again, thank you!
@nytr Жыл бұрын
Thank you so much, you've made it very clear and explained why it works and showed us from what was it derived. It helped me understand this much better than other YT videos! Thank you again!
@ilaughalot65564 жыл бұрын
24seconds in and already I've finally understood all my confusion. Thank you!
@abjotsingh66534 жыл бұрын
tomm. is my exam and coming here is a choice that i will never regret! Great work!
@dilby32464 жыл бұрын
Incredibly helpful, thank you. We are learning this in my electrical engineering class, and you explain it so well.