How TRANSISTORS do MATH

Take a look inside your computer to see how transistors work together in a microprocessor to add numbers using logic gates.
Get the book CODE that inspired the video amzn.to/pR9MwK
This is a great book by Charles Petzold that really breaks down a computer conceptually so that non-technical readers can understand how it works.
EDIT: At 00:12, the chip that is circled is not actually the CPU on this motherboard. This is an older motherboard where the CPU was first inserted into a small board and that board was then inserted into a slot on the motherboard. The chip that is circled is called the "northbridge" and helps the CPU communicate with memory. The northbridge also uses transistors and logic gates just like the CPU.
(As of 2024-01-15, all videos on this channel are under the CC0 license (very similar to Public Domain). Feel free to download and repost without compensation, attribution, or notice.)
creativecommons.org/public-do...

Пікірлер: 2 200

  • @juhabach6371
    @juhabach63714 жыл бұрын

    For people who are surprised, how people figured this out : This following fact is for any science or maths branch : 1. All the complex science and maths of anything has been built by several geniuses, over centuries. 2. Previous work is modified and new concepts and maths is added to the existing ones, also testing and error correction is done rigorously. 3 In today's world, we are just witnessing the finished product...so obviously it seems like marvel....but it took hell lot of time and hell lot of genius calibre minds to finally arrive at the current stage.

  • @tiktoktechnohouse1938

    @tiktoktechnohouse1938

    4 жыл бұрын

    the power of humanity, saving knowledge and improving upon it...

  • @maratmkhitaryan9723

    @maratmkhitaryan9723

    4 жыл бұрын

    @@tiktoktechnohouse1938 knowledge evolution

  • @juhabach6371

    @juhabach6371

    3 жыл бұрын

    @Christobanistan yeah, like the flat earthers 😆😆

  • @konefine3626

    @konefine3626

    3 жыл бұрын

    You could be a teacher, look at the way you broke down a long principle in a short 3 steps.

  • @juhabach6371

    @juhabach6371

    3 жыл бұрын

    @@konefine3626 thanks.. I think being an Indian helps 😆

  • @randyscorner9434
    @randyscorner94349 ай бұрын

    I have designed microprocessors for 30 years and was the designer of the first integrated Floating Point Unit (doing real number math). I had to see your explanation and enjoyed it a lot. Great basic introduction; with a mountain of optimizations available for faster and wider math. These systems are the most complex on the planet and I still find it amazing that we can get them right. Nicely done!

  • @davidcopperfield2278

    @davidcopperfield2278

    9 ай бұрын

    hey there if I have a processor, lets say a some 6600K, is there any way to see its architecture in detail ? I mean, what is the deepest a consumer can take officially look into, from some open documents or something ? are CPU architectures kept in secret by the companies ? if yes, up to what level ? how do programmers do, when they wanna see as profoundly as possible what currently happening with their hardware ?

  • @Josh-uj6gb

    @Josh-uj6gb

    8 ай бұрын

    ​@davidcopperfield2278 get a good microscope and you can see alot. Secondly no there could schematics are trade secrets and are not released to the public. Finally programmers use instruction set architecture which does not require a very microscopic view of the cpu. It allows them to work with registers. However most programmers don't interact with hardware directly.

  • @Lividbuffalo

    @Lividbuffalo

    7 ай бұрын

    Ok. I invented the first light bulb and also discovered gravity.

  • @wireless-earbuds-brain-tumor

    @wireless-earbuds-brain-tumor

    5 ай бұрын

    Lividbuffalo I was gonna say that but you know what? Let's be positive for once

  • @stellviahohenheim

    @stellviahohenheim

    5 ай бұрын

    Science have gone too far

  • @smacman68
    @smacman687 жыл бұрын

    This is both extremely simple and extremely complex at the same time. Thank God there are smart people in this world

  • @VJETRA

    @VJETRA

    4 жыл бұрын

    Simple multiple time equal complex

  • @RogerBarraud

    @RogerBarraud

    4 жыл бұрын

    Welcome to Philosophy :-)

  • @Yazan_Majdalawi

    @Yazan_Majdalawi

    2 жыл бұрын

    "ولا يُحِيطونَ بِشَيءٍ مِن عِلْمِه إلَّا بِما شاءَ" الحمدلله 🌷

  • @OmnipotentO
    @OmnipotentO7 жыл бұрын

    I strongly recommend that CODE book. It's fucking amazing and I'm not even a computer science guy. I was just curious about how we get from electricals circuits to shit on a screen.

  • @joshuageorge2053

    @joshuageorge2053

    2 жыл бұрын

    Same here bro, is like we've been reading each other's mind. Actually for a long time now. Ihave been keenly curious about how the computer processes it's data via electrical signals to obtain the understanding finished product in the screen also known as Output. As well as the transmission and coding of signals via wave BTW two devices

  • @darylemhenry
    @darylemhenry8 жыл бұрын

    I can't believe people were smart enough to figure this out. I'm having it explained slowly and with pictures and I'm still struggling with it.

  • @offchan

    @offchan

    8 жыл бұрын

    +That Guy The knowledge is just stacking on top of one another and it became fixed over time. There are many people who contributed their inventions to this so it looks surprised that all these are complex because it's compressed into a single video. But really, they figured these out in decades not minutes.

  • @rafiahmed2453

    @rafiahmed2453

    8 жыл бұрын

    +Chanchana Sornsoontorn (Off) Dude I was really relieved to see your message!

  • @dmaster20ify

    @dmaster20ify

    8 жыл бұрын

    +That Guy True thing. But as Chanchana Sornsoontorn said, persons took decades, no centuries, to figure this out; and we won't understand this in couple minutes.

  • @benabbouaissa1991

    @benabbouaissa1991

    8 жыл бұрын

    +That Guy you need to bring a piece of paper and try some exercices and you will see this is not that hard

  • @offchan

    @offchan

    8 жыл бұрын

    +Blair Group Yeah understanding a solution versus coming up with one takes a very distinct amount of effort. Those people who invented these things are quite smart. But what I want to point out is that, don't think that you aren't smart because there were smart people inventing things. Instead of complimenting people in the past, encouraging people in the present is more essential. If complimenting the ones in the past make you blame yourself then don't compliment them. These guys in the present are more important because they matter. Encourage them.

  • @noyes6599
    @noyes65997 жыл бұрын

    As an Electrical engineer, your in depth explanation of the transistor layout is exceptional! Well done!

  • @baugh3162

    @baugh3162

    11 ай бұрын

    now he has to build an amp with an 8 ohm speaker

  • @rongarza9488

    @rongarza9488

    10 ай бұрын

    @@baugh3162 OR an amp without a heavy permanent magnet.

  • @rty1955

    @rty1955

    5 ай бұрын

    Your explanation of binary is way too complicated amd can be explain much easier.

  • @jorgehn7
    @jorgehn77 жыл бұрын

    This is one of the BEST TUTORIAL KZread has. They should pay this dude for this vide.

  • @RichardDenisRichman

    @RichardDenisRichman

    7 жыл бұрын

    they do threw monetization if click on the ad at the beginning of his video he gets a click = "payment"

  • @Autokey_Security_Services

    @Autokey_Security_Services

    7 жыл бұрын

    therealnightwriter stop being a duece I bet you couldn't do any better if your life depended on it.

  • @banu6301

    @banu6301

    7 жыл бұрын

    this video talks about the ALU not about the GPU ...

  • @ioncasu1993

    @ioncasu1993

    6 жыл бұрын

    YOU should pay him for being able to see this video.

  • @obai2407

    @obai2407

    5 жыл бұрын

    The best

  • @andreranulfo-dev8607
    @andreranulfo-dev86074 жыл бұрын

    In 2018, this exact video was my very very very first lesson about binary. It was a great head start in my career. Two years later, I finally started my degree in Computer Engineering and for me, it was a peace a cake (because of this video), in the other hand, my classmates are struggling to understand a very boring and confusing explanation from our Professor. Thank you very much.

  • @andreranulfo-dev8607

    @andreranulfo-dev8607

    4 жыл бұрын

    Of course I shared the video with my classmates!

  • @tanoideneidene1177

    @tanoideneidene1177

    2 жыл бұрын

    Nice 👍👍

  • @gobyg-major2057

    @gobyg-major2057

    2 жыл бұрын

    @@andreranulfo-dev8607 exact*

  • @csallday

    @csallday

    2 жыл бұрын

    Is the $ good ?

  • @JoeyLovesTrains
    @JoeyLovesTrains6 жыл бұрын

    “...Now this kinda happens millions of times a second, inside of your micro-processor, that fits on your motherboard, inside of your computer.” that quote blew my mind...

  • @martinkuliza

    @martinkuliza

    5 жыл бұрын

    ok, don't have a stroke or anything, but IT'S NOT MILLIONS IT'S BILLIONS Millions, was around 30 years ago

  • @jacobcline6892
    @jacobcline68925 жыл бұрын

    This covered 2 weeks of my Computer Architecture class in 14min 26sec, and I understand it better than I ever did in those two weeks. Thank you.

  • @biguzivert
    @biguzivert3 жыл бұрын

    Bruh this video literally taught me how to make a Minecraft calculator

  • @lapistaoftheparadise4627

    @lapistaoftheparadise4627

    2 жыл бұрын

    Yeah now i know how some kid made a (i think 16 bit) computer in Minecraft

  • @Rhidayah

    @Rhidayah

    2 жыл бұрын

    Lmao with redstone

  • @nd688

    @nd688

    2 жыл бұрын

    I actually came for it. Lol

  • @biguzivert

    @biguzivert

    2 жыл бұрын

    @@epicsam12345 well since I am already knowledgeable with Minecraft redstone this video was enough to teach me how to make a Minecraft calculator

  • @dabooda7
    @dabooda77 жыл бұрын

    I have been coding for 29 years and just now decided to look into the actual electrical engineering aspect of the cpu. Thank you for these videos. They are very well done and explain in great detail. Now I am off to replicate logic gates in code, should be fun.

  • @ibrahimabtula3234
    @ibrahimabtula32348 жыл бұрын

    this is the best video I ever seen for how CPU works

  • @raphaellm

    @raphaellm

    7 жыл бұрын

    The best I've seen so far. I finally understand how it works. \o/

  • @TimothyChapman

    @TimothyChapman

    7 жыл бұрын

    This video gets the logic gates completely wrong. The transistor layout in this video does *NOT* work.

  • @ibrahimabtula3234

    @ibrahimabtula3234

    7 жыл бұрын

    It explains concept very well and straightforward

  • @PantuFJAR

    @PantuFJAR

    7 жыл бұрын

    This is indeed a very good video, but this is not how a CPU works, only a part of the CPU's arithmetic logic unit (ALU). If you enjoyed it, you should search for more videos about computer architecture, most of them are from India idk why lol

  • @TimothyChapman

    @TimothyChapman

    7 жыл бұрын

    PantuFJAR "most of them are from India" That explains their hard-to-understand English.

  • @forbeswinthrop153
    @forbeswinthrop1538 жыл бұрын

    I have been looking for a description of how math is done with transistors. This was exactly what I wanted to understand. Thank you so much.

  • @tomt8184

    @tomt8184

    6 жыл бұрын

    ehhhhhhhhhhhhhhhhhhhh

  • @super_exe_file

    @super_exe_file

    Жыл бұрын

    This is why computers are ultra fast at calculating any digits of numbers

  • @renatobritto4096
    @renatobritto40966 жыл бұрын

    Damn this is really good. I could not find a single video that explains what a logic gate looks like physically and how do they interact to do simple actions so fast and clear. Good job man.

  • @briancowan528
    @briancowan5283 жыл бұрын

    As the saying goes, "If you can't explain it simply, you don't understand it well enough" Brilliantly and elegantly explained.

  • @Transled
    @Transled8 жыл бұрын

    I've been using these gates, adders etc. in microprocessor programming for years. I knew what they are doing but it's only now that I fully understand what's going on in those chips. Thanks for this great video.

  • @zulfitareen1
    @zulfitareen19 жыл бұрын

    thank you. i only understood 1.3% of your lesson. but 1.3% is better than zero. thank you.

  • @raXunHAWK

    @raXunHAWK

    9 жыл бұрын

    If you round off "1.3" you'll get "1", that means you are switched ON to understand the lesson.

  • @zulfitareen1

    @zulfitareen1

    9 жыл бұрын

    i agree

  • @userprotection6298

    @userprotection6298

    4 жыл бұрын

    @@AhmetBurcoglu Yes, I do measure pimp

  • @henryogan2017

    @henryogan2017

    2 жыл бұрын

    I'm not sure if I should be offended or glad

  • @nylabrookes

    @nylabrookes

    2 жыл бұрын

    @@raXunHAWK 🤣🤣🤣👍👍

  • @seancunnion1438
    @seancunnion14387 жыл бұрын

    You make great videos- please keep it up! As an ex-EE major I watch them to keep sharp, and I find I'm understanding the concepts more clearly than I did in school. I like how you combine practical knowledge and problem-solving.

  • @Tom-mh9bm
    @Tom-mh9bm6 жыл бұрын

    Someone get this guy a Nobel Prize. Beautiful explanation. I'm 7 years late to this.

  • @TheJaredtheJaredlong
    @TheJaredtheJaredlong9 жыл бұрын

    Wanted to know how computers add 1+1; was not disappointed.

  • @spidi150

    @spidi150

    8 жыл бұрын

    +Element115 we know how it works in that theory... The question is how the computer does it... Try telling the electricity to go from one column to the left one, if there are 2 1's... How do the chips calculate it... How do they get the two 1s from there: 0001 to there: 0010 Ofc we as humans know that we just have to move it to the left... But how does it work in the circuits? (I hope it's sorta understandable since i came here to seek the same answer)

  • @spidi150

    @spidi150

    8 жыл бұрын

    +Kamineru73 +Kamineru73 Don't worry, I understood it, since I wrote this comment 2 months ago I can't quite recall, why i wrote it, maybe because I was tired, was only halfway through the video or as I presume now that I just didn't 'get' element 115's comment, since it only explains how a human being would calculate this, but I guess I assumed everyone would know that part already, or not really search for this video if not. So what I was looking for was a video (like this one) that explains how the 2 on-switches make the first lightbulb turn on, and the second one turn off. E.g. I know that 01+01=10 but how do two ones turn to a zero. Which was then explained in the video->by using the XOR-gate. The buildup of the XOR- and the AND-gate was the answer I was looking for. Not that 1+1=10. Since I knew that before... But the question was how ;) I hope it's more understandable now :) since my previous comment was not against that video in any way. The video is awesome and educational :)

  • @santosmartinez5948

    @santosmartinez5948

    4 жыл бұрын

    TheJaredtheJaredlong 1+1does. Not =o

  • @santosmartinez5948

    @santosmartinez5948

    4 жыл бұрын

    TheJaredtheJaredlong ok I taught myself this week in 1sr grade in Holzems

  • @adaptiveplexus

    @adaptiveplexus

    4 жыл бұрын

    Why it's bad to just do a half add job.

  • @ibrahimshaikh6728
    @ibrahimshaikh67287 жыл бұрын

    Not all heroes wear capes!

  • @theblinkingbrownie4654

    @theblinkingbrownie4654

    5 жыл бұрын

    Not all capes wear heroes!

  • @DeputyBurbank

    @DeputyBurbank

    4 жыл бұрын

    ...but they are all white males.

  • @rijul9929

    @rijul9929

    3 жыл бұрын

    @@DeputyBurbank you'll be surprised, but nevermind!

  • @randzopyr1038
    @randzopyr10385 жыл бұрын

    You explained this so well. So many people want to skip over parts of this when explaining how a cpu works.

  • @trevordallas
    @trevordallas Жыл бұрын

    This is, by far, the best explanation and visual examples of digital logic and adders I have seen to date. Excellent video!

  • @intercointerface212
    @intercointerface2129 жыл бұрын

    Wow, this goes into so much more detail than I thought it would, but I still understood it all! Amazing work, just the right pace for me to keep up! Please please please make one of these for the other main operations! (Division, Subtraction and Multiplication).

  • @skylineuk1485
    @skylineuk14853 жыл бұрын

    brilliantly done, that is roughly the same way I used to teach this decades back and is as easy as it gets. Well done!

  • @deluxeedition4639
    @deluxeedition46395 жыл бұрын

    I'm glad my programming teacher linked this video as part of our notes, this was so helpful!

  • @vikash.s8523
    @vikash.s85236 жыл бұрын

    The most intuitive video on working of a processor. Salute for whoever has made this.Schools should licence this video and show it to students instead of hours on lecturing

  • @mikimouse3001
    @mikimouse30013 жыл бұрын

    Once you understand how the gates work everything is starting to make sense. Very informative video. And I love the explanation at the beginning on how a transistor works. Learned something new today:)

  • @stevrolds2566
    @stevrolds25668 жыл бұрын

    This video is just incredible (as are the others you've made). It really is such a shame that quality like this in educational videos is as rare as it is. And I don't know if you feel like the pay-off has been worth the time and effort you must have put into making it, but I hope that doesn't deter you from continuing to make other masterpieces. I for one have benefited greatly from it. So, thanks.

  • @sanjeeva_krishna_official962

    @sanjeeva_krishna_official962

    5 ай бұрын

    8 years😮😮

  • @xniyana9956
    @xniyana99564 жыл бұрын

    This is hands down the best video I have ever seen to explain this. It explains something very complicated in terms so simple it would be sinful if one still couldn't understand it. I wish every complicated topic in STEM could be explained this effectively.

  • @be4iloveu
    @be4iloveu6 жыл бұрын

    This is one of the most beautiful videos on the planet. Now my life is complete.

  • @superpayaseria

    @superpayaseria

    3 жыл бұрын

    I know mine too. This was so oooooooooo good.

  • @R0B690
    @R0B6905 жыл бұрын

    Taught me so much, but still so hard to comprehend. How people worked this out is amazing.

  • @TheDarkVPlayer
    @TheDarkVPlayer9 жыл бұрын

    Amazing and super detailed. Great explanation on some of the logic gates.

  • @tomjuliano9249
    @tomjuliano92496 жыл бұрын

    Been looking for such a clear, detailed explanation for this phenomenon for a long time! Thank you Charles Petzold!

  • @E--Drop
    @E--Drop4 жыл бұрын

    This is seriously THE BEST if not close to the BEST Lesson that I've ever watched. THANK YOU

  • @CarlosSantos-iu2ei
    @CarlosSantos-iu2ei3 жыл бұрын

    One of the best videos I have seen so far! As always, you can see or even meet very smart people who doesn't know how to explain complex things to others and, that few, that got the knowledge and know how to explained it to others. Thank you Sir for being part of that few!

  • @austinch3
    @austinch37 жыл бұрын

    I love this tutorial, it's awesome! Only issue i have is that microprocessors today don't use ripple carry adders shown in the video but use carry lookahead adders (fast adders) instead but this is probably (it is) the best tutorial i've seen on Full Adders. i'm definitely going to refer to this video when I can.

  • @parker9163
    @parker9163 Жыл бұрын

    The clearest explaination of a logic gate I've seen on KZread thus far! Thanks

  • @MPierce1
    @MPierce15 жыл бұрын

    Absolutely AMAZING explanation!!!! Very clear and straightforward!!! Making the fundamentals of computing easy to understand so that the learner can have a firm grasp before going on to the more sophisticated computing!

  • @masteringinlife3201
    @masteringinlife32016 жыл бұрын

    This video is one of the most valuable asset on the youtube.Great work dear

  • @justins7796
    @justins77964 жыл бұрын

    i'm not saying it was aliens that made computers but it was aliens.

  • @AaronKelly111
    @AaronKelly1115 жыл бұрын

    How do computers add numbers? This has got to be the most thorough and concise explanation, ever. Thank you.

  • @MrKobliska
    @MrKobliska6 жыл бұрын

    I have the CODE book, which is excellent. This video follows suit. VERY well done. As a Computer teacher, I am grateful for the hard work of the author and the systematic use of the same analogy all the way through. Plus, the graphics are consistent and well-done. Thank you.

  • @ezstudio3d
    @ezstudio3d9 жыл бұрын

    This is just perfect and the way I live to be tough, which is using images, very detail explanation, right to the point and easy to understand. love the other videos too. I would love to see a video about an OS in this format.

  • @raziel2215

    @raziel2215

    9 жыл бұрын

    Loco y donde estas metido, llamame necesito hablar contigo.

  • @unlokia
    @unlokia8 жыл бұрын

    You've _really_ knocked it out of the park here, well done, and thank you from England! God bless you and thanks again :)

  • @SweetzLee
    @SweetzLee3 жыл бұрын

    This is an extremely thorough and very well explained walk through! Easy to understand voice and instructions. Thank you!

  • @kevinxin1545
    @kevinxin15454 жыл бұрын

    It insane how well all this information is put together in this way. Absolutely insane.

  • @iworshipjesus1597
    @iworshipjesus159710 жыл бұрын

    Great video. Thanks for making it so clear.

  • @jananjacob
    @jananjacob7 жыл бұрын

    Freakin hell.... shamefully i have to say i am a computer science engg , and i do know how to calculate the And's and OR's and other logic gates. But it is now that i understood how the whole thing works in a machine with the binary numbers.... now it all makes sense.... I wish i saw this video when i was studying... :( anyways better late than never.

  • @carlosgarza31

    @carlosgarza31

    5 жыл бұрын

    Janan Jacob they should have gone over this in your Computer Organization class in college. They should have also gone over how to build TTL logic gates as well. Also they would have explained that what you saw in this video is a ripple carry adder that are outdated as multibit look ahead carry adders to make aditions faster at the cost of using more transisters or CMOS (Modern CPU) circuits.

  • @49lives

    @49lives

    5 жыл бұрын

    how they teach you that in the intro to the digital system's classes which is a 200 level class in most university's... furthermore, it's essential to understand its the basics of machine code...

  • @bassam_salim

    @bassam_salim

    4 жыл бұрын

    Thankfully I watched this while still studying

  • @imho2278

    @imho2278

    3 жыл бұрын

    @@49lives It's all theoretical. No components are used. Not even any simulation programs are mentioned.

  • @Jhenoah
    @Jhenoah5 жыл бұрын

    This is the best description of a transistor I've had yet.

  • @marioarsenal3198
    @marioarsenal31982 жыл бұрын

    The explanation was really clear and the illustration with multiple examples helped even more. Really a beautiful video

  • @firiiiluu9259
    @firiiiluu92597 жыл бұрын

    What an interesting lesson!♥♥♥♥♥ Your lessons are so cool, anyone can easily understand. I would like to thank you for your lessons.

  • @Abdelrhman_Rayis
    @Abdelrhman_Rayis9 жыл бұрын

    Best channel so far:)))

  • @bud5027
    @bud50278 жыл бұрын

    Your videos are incredibly comprehensive, logical and fun. Keep up the good work.

  • @gkx9914
    @gkx99144 жыл бұрын

    been searching all over the internet for something like this. thank you so much and keep up the great work!

  • @dappa311
    @dappa3113 жыл бұрын

    How I wish that these tutorials had existed when I was in college studying engineering. I struggled through digital electronics class, never understood what the gates actually were physically. things were never explained this way. now its a lot more simple for me to comprehend. what I have learned over the years is that learning is something that is dependent on who is teaching you. when you have such a simple but complex topic as computer science , you need a good teacher that can break things down to their simple and elementary form I had to watch this video like three times, pause at some point and think about what i was looking at and I was like , ohhhhhh, I see it now. wish the internet had all this info way back then, would of saved me so much headaches. I have understood something that took me a whole semester to learn and I still never fully understood it back then , I barely passed the class. In simple terms , an or gate is a parallel connection either switch will turn on the output, the and gate is a series switch , both have to be on and every other gates are derivatives of that. All compartmentalized with in the cpu

  • @jeanpanachay
    @jeanpanachay8 жыл бұрын

    damn this video is so well explained, thanks !

  • @masudmohamed9364

    @masudmohamed9364

    8 жыл бұрын

    .wpdamadmjmgmm.

  • @Finkelfunk

    @Finkelfunk

    8 жыл бұрын

    +Jean Panachay This guy is a fucking god, like, he can explain you electrical engineering of a CPU and you are actually able to understand everything.

  • @techwithwhiteboard3483

    @techwithwhiteboard3483

    5 жыл бұрын

    i wanted to like but its 128 don't want to ruin that🙂

  • @TheZenbudda
    @TheZenbudda5 жыл бұрын

    For my way of thinking, this is the best way of teaching this topic. It steps you through every detail and properly re references each prior step in the process of how the whole process works

  • @soufianee48
    @soufianee483 жыл бұрын

    To be honest, this guy is one of the best explainers i have ever seen on youtube, i would like to watch more videos here

  • @Gerael
    @Gerael9 жыл бұрын

    So thats why in Zelda for the NES you can only hold up to 255 rupees, now i get it.

  • @Brandon_66

    @Brandon_66

    6 жыл бұрын

    Megagera that's also why you can't go past level 256 in PAC man

  • @adhdskytka536

    @adhdskytka536

    6 жыл бұрын

    And that's also why if you have a basic RGB image you can usually set each color to value between 0 and 255 - there are 8 bits (light bulbs) = 1 byte for each color (Red, Green, Blue) representing how much of it each pixel has, making up a more specific color. So for example if you have a 100x100 sized picture, which is 10000 pixels, you need at least 10000x3x8 bits = 10000x3 bytes = 30 kilobytes of memory for it (if you have no compression :))

  • @lmh1544

    @lmh1544

    6 жыл бұрын

    Whoaaaa the neatness!..its too strong!! *explodes*

  • @thegimmer1260

    @thegimmer1260

    5 жыл бұрын

    that's also why I couldn't get a score of 256 in flappy bird.

  • @hexagonist23

    @hexagonist23

    5 жыл бұрын

    Mirek M. Your math is completely wrong. If your image is raw then you would need 512 kilobytes.

  • @sudheeshpb7278
    @sudheeshpb72783 жыл бұрын

    I GOT INTERESTED EVEN IN ADS THAT CAME WHILE HE TEACHES. LOL

  • @Autokey_Security_Services
    @Autokey_Security_Services7 жыл бұрын

    Great video I always wondered why the first computers took up a whole building now I get it. The layout must have been incredible and I cannot even begin to imagine how long it took to service them, also the heat they generated. Wow

  • @dsbohra
    @dsbohra Жыл бұрын

    Best video to take you from fundamentals to practical implementation of these 1 & 0. Brilliant

  • @hectorqwer
    @hectorqwer8 жыл бұрын

    Now I understand how computers work, beware bill gates :)

  • @americanswan

    @americanswan

    8 жыл бұрын

    Actually, you don't. You know how a calculator adds.

  • @hectorqwer

    @hectorqwer

    8 жыл бұрын

    :(

  • @imradioactive0309

    @imradioactive0309

    3 жыл бұрын

    @@americanswan 😭

  • @tobipotg
    @tobipotg7 жыл бұрын

    Good video! The CPU is actually not where he says it is. On modern computers he would be correct but the motherboard on the first picture is for pentium 2 or 3 CPUs. They are enchaced in a funny cartridge.

  • @TheUpgradeSolution

    @TheUpgradeSolution

    7 жыл бұрын

    Yep, he pointed to the north bridge, the cpu on that board is just below that in what looks like an oversized ram slot.

  • @derbigpr500

    @derbigpr500

    7 жыл бұрын

    It doesn't matter, it's still full of transistors.

  • @JerryDodge

    @JerryDodge

    6 жыл бұрын

    I came to the comments just to see if anyone else noticed this big mistake.

  • @marioaleksandrov7859

    @marioaleksandrov7859

    6 жыл бұрын

    Mr_Tobiah he didn't make a mistake he didn't say that this is the CPU he sad microprocessor so his technically correct.

  • @carlosgarza31

    @carlosgarza31

    5 жыл бұрын

    The CPU he should was actually an old 80286 CPU as well judging by its size, number of pins and package style.

  • @jasurmakhkamov
    @jasurmakhkamov2 жыл бұрын

    Wow this man really combined a whole electronics and computer science course to explain how calculators work in under 15 minutes. Bravo!

  • @Coolbassist
    @Coolbassist7 жыл бұрын

    Exactly the video I was looking for, it took a while to understand the Carry in and Carry out but I got it now. Thanks!

  • @Oshyrath
    @Oshyrath9 жыл бұрын

    Wow, I'm impressed by the detail this goes into explaining adders. Can you do the same with registers? I'm trying to build an ALU on Minecraft.

  • @maxwell10206

    @maxwell10206

    9 жыл бұрын

    Oshyrath Look up flip flop gates. You'll need those to build registers.

  • @Oshyrath

    @Oshyrath

    9 жыл бұрын

    maxwell10206 Turns out, there are RS laches on Minecraft. I don't have to use gates anymore.

  • @PanAdam
    @PanAdam9 жыл бұрын

    I have this in my school. I very like it :p

  • @thelostmarbles4310
    @thelostmarbles4310 Жыл бұрын

    I've watched this four times, and with each time I feel more enlightened. amazing.

  • @fernandogarciacortez4911
    @fernandogarciacortez49116 жыл бұрын

    AMAZING, from simple photos to simple explaining, no mess around, perfect!!!!!!!, thanks from MEXICO!!!!!

  • @pepegasadge2977
    @pepegasadge29778 жыл бұрын

    This is a fucking education video! This is how it's done! It's amazing and so understandable! Thanks for that!

  • @MrCires
    @MrCires10 жыл бұрын

    oh shit... brain explosion.. big thanks !

  • @xXAngelmlXx
    @xXAngelmlXx7 жыл бұрын

    Thanks a lot. Ive watched many other videos about " explaining how CPUs work" and non of those did it but you. You explained it very well and detailed, though still I didn't understand half of it. But now I have a clue and will rewatch this video till I understand it. Thanks Sir

  • @jeffwads6158
    @jeffwads61584 жыл бұрын

    Easily the best video on this subject on KZread. Congratulations.

  • @SacerKtracho
    @SacerKtracho9 жыл бұрын

    This just gave me a headache

  • @cloroxbleach1200

    @cloroxbleach1200

    9 жыл бұрын

    kyca You are stoopid too since you dont know how to spell stupid.

  • @OfficialGamingNetwork

    @OfficialGamingNetwork

    9 жыл бұрын

    Shaheer Syed You say that when you spelled stupid 'stoopid'.

  • @cloroxbleach1200

    @cloroxbleach1200

    9 жыл бұрын

    OfficialGamingNetwork I know and I did that to make it more funny, "stoopid" human (im not sure if you are actually a human...).

  • @crublah
    @crublah7 жыл бұрын

    how do they get this stuff so small and so many on a platine?

  • @alexsindledecker3665

    @alexsindledecker3665

    5 жыл бұрын

    They use a special type of blueprint thing which goes over a silicone sheet and shoot it with a laser which cuts the silicone. They then pour copper (i think) on the silicone so it fills the holes and use a precice laser to cut the top of it so it isnt connected. There are many other steps like doping and I may have made a mistake or two, but that is the basic idea. Just lasers... :)

  • @martinkuliza

    @martinkuliza

    5 жыл бұрын

    it's called NANO TECHNOLOGY and Nano Architecture these days the cpu's can no longer be assembled by humans because they are too small and the level of precision is too high , it's all done my machines . google HOW IS A CPU MADE, it's an interesting video

  • @kuasocto3528
    @kuasocto35285 жыл бұрын

    This is a great video. Now I finally understand (80% maybe) how the logic works in a computer and what physical elements create this logic. It's still a far cry from actually "getting" the whole, but it's a really good start. Thanks for this video.

  • @imyasharya
    @imyasharya2 жыл бұрын

    This is the exact video that was used in my techbee training class. Although my teacher didn't play it but I find it really amazing and beautiful.

  • @TigerXGame
    @TigerXGame8 жыл бұрын

    Now my head hurts. But I learned something. I'm sure I'll understand it eventually :D

  • @Ma7m9d
    @Ma7m9d9 жыл бұрын

    How the hell did they think of all this in the first place!!

  • @julianh7284

    @julianh7284

    9 жыл бұрын

    MDW Magic

  • @julianh7284

    @julianh7284

    8 жыл бұрын

    Yassir Douslimi No no no...Definitely Magic

  • @brandongressett9192

    @brandongressett9192

    8 жыл бұрын

    MDW Mathematics.

  • @julianh7284

    @julianh7284

    8 жыл бұрын

    DDDDDDDDDDDDDDDAAAAAAAAAAAAAMMMMMMMMMMMMMMMNNNNNNNNNNNNNNNNNNNN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @mikael3536

    @mikael3536

    8 жыл бұрын

    +MDW Boolean and people integrating it into circuits and so on

  • @nikoslafis7948
    @nikoslafis79482 жыл бұрын

    I have no words to thank you !!! With this amazing video within a few minutes I understood in depth what they taught me for endless hours at the university where I studied

  • @KingArthurKentucky
    @KingArthurKentucky5 жыл бұрын

    Your video clarifies a lot of things of half adder and full adder. Thank you for this educative video.

  • @MultiRachid1991
    @MultiRachid199110 жыл бұрын

    Awesome

  • @leokimvideo
    @leokimvideo11 ай бұрын

    Now I know why I failed Math. I have no TRANSISTORS installed

  • @graphene1487
    @graphene14874 жыл бұрын

    This ought to be mandatory viewing for anyone learning IC layout. Great lesson!!

  • @lownleinhigh
    @lownleinhigh Жыл бұрын

    NOW I WILL BE USING THIS VIDEO FOR MY CLASS! The details are well explained and represented amazingly well.

  • @jonnymiles3906
    @jonnymiles39069 жыл бұрын

    Got bored so I made a virtual version of the adder you can play with if you're interested: jsfiddle.net/pafgzvdd/1/embedded/result/

  • @redosem9868

    @redosem9868

    6 жыл бұрын

    Jonny Miles I did tried it, very nice

  • @lockercoin3693
    @lockercoin36937 жыл бұрын

    its like my computer is explaining itself, i can hear it judging me because i use it for porn. well, besides studying. great video though!

  • @martinkuliza

    @martinkuliza

    5 жыл бұрын

    technically speaking, you're porn are just electrical charges on a Hard drive platter or Memory chips, depending on what drive you have, so basically IF YOU THINK ABOUT IT.... YOU'RE JERKING OFF TO ELECTRICITY LMFAO Your Porn has a truth table and a finite set of outcomes yes it judges you by using DIGITAL LOGIC LMFAO if it made an error in judgement it has Error correction capabilities to rectify the corrupted bit in error but the computer does hope that even though it has error correction, it prays that YOU WON'T OVERFLOW Now.. i'm interested to see if you understand the joke hehe

  • @imradioactive0309

    @imradioactive0309

    3 жыл бұрын

    @@martinkuliza brain is also electricity and chemical

  • @shivankitss8396

    @shivankitss8396

    3 жыл бұрын

    @@martinkuliza 😂😂😂

  • @clearwavepro100
    @clearwavepro1007 жыл бұрын

    You have a real gift at mixing information with making good communication with the audience...its really good! TY

  • @canklc5772
    @canklc57722 жыл бұрын

    Enlisghtening and ground-breakingly simple. I appreciate your help

  • @NurzulHealme
    @NurzulHealme10 жыл бұрын

    00:15 = chipset not processor.. this type mobo use slot processor www.google.com/search?q=slot+processor&source=lnms&tbm=isch&sa=X&ei=T0HCUvrLNseprAfx2IG4BA&ved=0CAcQ_AUoAQ&biw=1280&bih=908

  • @JoshuasRecordings

    @JoshuasRecordings

    10 жыл бұрын

    That is exactly what I was thinking.

  • @NurzulHealme

    @NurzulHealme

    10 жыл бұрын

    :)

  • @chrisfreeman2725

    @chrisfreeman2725

    9 жыл бұрын

    Nur Zul deeeeesctription :D

  • @JoshuasRecordings

    @JoshuasRecordings

    9 жыл бұрын

    Chris Freeman He commented 9 months ago, I commented 4 months ago. This is a new edit, was not in the description before! But thanks!!

  • @chrisfreeman2725

    @chrisfreeman2725

    9 жыл бұрын

    :D

  • @TeganBurns
    @TeganBurns8 жыл бұрын

    Now explain the system clock

  • @chamseddinehammouda6965

    @chamseddinehammouda6965

    7 жыл бұрын

    The system clock is measured in Hz. The system clock regulates the speed of the transistors. Basically, it is how fast you flick all the switches in one second. Faster clock means faster flicking, which means faster results. Sadly, CPUs cannot handle overclocking without fans,as this causes additional heat, since the transistors needs more energy, along with other problems. Please note that when you see that a CPU is clocked at 4GHz, it does not mean that one transistor flicks 1 and 0 4 billion times a second, that would be insane! Modern CPUs contains a lot of transistors, thanks to Intel and their first microprocessors, and that 4GHz you see is the cumulative speed of all the transistors contained in the CPU. It means that there are many many switches, and that ALL the switches are being flickered 4 billion times a second, maximum.

  • @olafseisler9284

    @olafseisler9284

    7 жыл бұрын

    Yeah, but what flicks the switches?

  • @chamseddinehammouda6965

    @chamseddinehammouda6965

    7 жыл бұрын

    +Olaf Seisler Electricity. I Will not explain it in details since it's a bit more complicated. When in example you click on a program to open it, an electrical signal is sent to the CPU, to address the request to open the program. This signal is the thing that flicks the switches.

  • @chamseddinehammouda6965

    @chamseddinehammouda6965

    7 жыл бұрын

    +David Côté-Tremblay Glad I've helped! Note that computers with multiple cores are clocked by core.

  • @twlson49

    @twlson49

    7 жыл бұрын

    So are you saying a 2.6 Ghz system with 4 cores are clocked individually 2.6 Ghz 4 times?

  • @eddieleem7
    @eddieleem77 жыл бұрын

    Can't say enough how helpful this video is. Thank you.

  • @k98killer
    @k98killer11 ай бұрын

    Good overview of the basics. I used to have a lot of fun building binary circuitry in Minecraft, but I don't think I ever got further than a 3- or 4-bit adder, some shift registers, and a small amount of addressable memory.

  • @tennicktenstyl
    @tennicktenstyl8 жыл бұрын

    Okay, minecraft guys understand it so good.

  • @computerit7490

    @computerit7490

    7 жыл бұрын

    It doesn't if others just build houses. I like a bit of redstone, but it doesn't help really much at these things.

  • @tennicktenstyl

    @tennicktenstyl

    7 жыл бұрын

    ComputerIT but I mean those who build entire PCs

  • @computerit7490

    @computerit7490

    7 жыл бұрын

    +Bartosz Olszewski Umm, it's not becouse minecraft, it's becouse they learned about logic gates, binary, CPU, GPU, and etc.

  • @tennicktenstyl

    @tennicktenstyl

    7 жыл бұрын

    ComputerIT it's because minecraft.

  • @computerit7490

    @computerit7490

    7 жыл бұрын

    +Bartosz Olszewski But I'm myself redstoner, I wouldn't have been redstoner if I wouldn't know about logic gates, transistors, and etc.

  • @ParrhesiaJoe
    @ParrhesiaJoe9 жыл бұрын

    Get the book, "Code" if you find this interesting.

  • @rebeccaodom5393

    @rebeccaodom5393

    9 жыл бұрын

    ParrhesiaJoe by who?

  • @ParrhesiaJoe

    @ParrhesiaJoe

    9 жыл бұрын

    Rebecca Odom Code: The Hidden Language of Computer Hardware and Software Paperback - October 21, 2000 by Charles Petzold (Author)

  • @jakeambrose4294

    @jakeambrose4294

    8 жыл бұрын

    ParrhesiaJoe been reading it and parts are past my level thats what led me here

  • @ParrhesiaJoe

    @ParrhesiaJoe

    8 жыл бұрын

    Elon Ambrose Fantastic. KZread didn't have these vids when I drudged through it :).

  • @jakeambrose4294

    @jakeambrose4294

    8 жыл бұрын

    I'm very aware of my and every current persons luck with things like this and youtube for sure

  • @testus86
    @testus86 Жыл бұрын

    This is the best explanation so far. Remembers me my digital microprocessors lesson at school 18 years ago

  • @shonguiz0
    @shonguiz03 жыл бұрын

    Stellar job, this is one of the best explanatory videos ever on the subject. Intuitive, simple and effective.