How a CPU Works

  Рет қаралды 8,223,279

In One Lesson

In One Lesson

11 жыл бұрын

Learn how the most important component in your device works, right here!
Author's Website: www.buthowdoitknow.com/ See the Book: amzn.to/1mOYJvA
(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...
See scripts for future videos here: github.com/In-One-Lesson/Vide...
See the 6502 CPU Simulation: visual6502.org/JSSim/index.html
Download the PowerPoint file used to make the video: docs.google.com/presentation/...
The CPU design used in the video is copyrighted by John Scott, author of the book But How Do It Know?.
There are a few small differences between the CPU in the video and the one used in the book. Those differences are listed below but they should not detract from your understanding of either.
CONTROL UNIT - This component is called the Control Section in the book. It is called Control Unit here simply because that is a more common name for it that you might see used elsewhere.
LOAD INSTRUCTION - In this video, what's called a LOAD instruction is actually called a DATA instruction in the book. The Scott CPU uses two different instructions to move data from RAM into the CPU. One loads the very next piece of data (called a DATA instruction in the book) and the other uses another register to tell it which address to pull that data from (called a LOAD instruction in the book). The instruction was renamed in the video for two reasons: 1) It might be confusing to hear that the first type of data we encounter in RAM is itself also called DATA. 2) Since the LOAD instruction from the book is a more complex concept, it was easier to use the DATA instruction in the video to introduce the concept of moving data from RAM to the CPU .
IN and OUT INSTRUCTIONS - In the Scott CPU, there is more involved in moving data between the CPU and external devices than just an IN or an OUT instruction. That process was simplified in the video to make the introduction of the concept easier.
ACCUMULATOR - The register that holds the output of the ALU is called the Accumulator in the book. That is the name typically used for this register, although it was simply called a register in the video.
MEMORY ADDRESS REGISTER - The Memory Address Register is a part of RAM in the book, but it is a part of the CPU in the video. It was placed in the CPU in the video as this is generally where this register resides in real CPUs.
JUMP INSTRUCTIONS - In the book there are two types of unconditional JUMP instructions. One jumps to the address stored at the next address in RAM (this is the one used in the video) and the other jumps to an address that has already been stored in a register. These are called JMP and JMPR instructions in the book respectively.
MISSING COMPONENT - There is an additional component missing from the CPU in the video that is used to add 1 to the number stored in a register. This component is called "bus 1" in the book and it simply overrides the temporary register and sends the number 1 to the ALU as input B instead.
REVERSED COMPONENTS - The Instruction Register and the Instruction Address Register are in opposite positions in the diagrams used in the book. They are reversed in the video because the internal wiring of the control unit will be introduced in a subsequent video and keeping these registers in their original positions made that design process more difficult.
OP CODE WIRING - The wires used by the control unit to tell the ALU what type of operation to perform appear near the bottom of the ALU in the video, but near the top of the ALU in the book. They were reversed for a similar reason as the one listed above. The wiring of the ALU will be introduced in a subsequent video and keeping these wires at the top of the ALU made the design process more difficult.

Пікірлер: 5 200
@yenchey3270
@yenchey3270 8 жыл бұрын
Thanks! I still don't understand it, but now I know what exactly I don't understand
@Golha2505
@Golha2505 8 жыл бұрын
+Yenchey lol.. at least you know somethin xD
@yenchey3270
@yenchey3270 8 жыл бұрын
Scorpio X no... I just wanted to know how CPU works xD but I also play Minecraft sometimes ;) and I'm not really into redstone... My biggest creation was an "escape" map with maybe 5 chambers with redstone circuts...
@zues121510
@zues121510 8 жыл бұрын
+Yenchey i think the author of that book asked this guy to make the video un-understandable so that his book sells more. 1:42
@zues121510
@zues121510 8 жыл бұрын
Blair Group my unlikely scenario was a sign of sarcasm. do you really have such an IQ? you cannot even solve the pitiful sarcasm that I implemented in the sentence. but I won't hold it against you, KZfaq comments are horrible as they cannot show if a person is being genuine or not.
@known3617
@known3617 8 жыл бұрын
+zues121510 if you can't identify a KZfaq comment is genuine then how could anybody distinguish sarcasm then?
@JousterMoha
@JousterMoha 5 жыл бұрын
A 20 minute video explained a semester worth of lectures perfectly. Please be my professor
@jowlolke
@jowlolke 5 жыл бұрын
I'm sure your professor goes more in depth than this though, so it't to be expected that this is easier to understand
@iamjobless910
@iamjobless910 5 жыл бұрын
The beauty of this video is he uses very minimal technical jargon.
@afreensofi0095
@afreensofi0095 5 жыл бұрын
I’m sorry to say, you’re insane!
@MrRayWilliamJohnson9
@MrRayWilliamJohnson9 4 жыл бұрын
Scary that I understood all of it not knowing anything about computers 😂
@dogsauce747
@dogsauce747 4 жыл бұрын
what are you studying. computer science??
@jeffh6516
@jeffh6516 2 жыл бұрын
I'm a software engineer with several years experience. I've always had a vague idea of what these components do, but I've never been able to wrap my head around how they do it. Your explanation was so eloquent yet concise that these concepts that have always escaped me suddenly clicked and made perfect sense. Great video!
@Vibri_but_Paranoid
@Vibri_but_Paranoid 2 жыл бұрын
Nice!
@BungieStudios
@BungieStudios Жыл бұрын
Thank you for your syntax. 🫡
@Daggy898
@Daggy898 Жыл бұрын
The
@youcefassou1592
@youcefassou1592 Жыл бұрын
Same here hahah I was fill all the missing holes and missing pieces
@TheLustz
@TheLustz 7 ай бұрын
im a new software engineer that cant find a job. pls help
@mrCetus
@mrCetus 2 жыл бұрын
50 years ago I was writing assembler language programs using all the move (MVC), branch and load instructions necessary to create a program. This video sure would have been helpful to me for understanding how the hardware responded to my wishes. It was a bonus to see the scripture at the end - what a wonderful surprise! Blessings to you!
@thomasauslander3757
@thomasauslander3757 Жыл бұрын
Writing Assembly language I honor you...
@_Tzebra_
@_Tzebra_ Жыл бұрын
I wrote assembly for Intel 8086 back in the day, and man oh man was it a fun ride. Good old days.
@user-gc1iq1ge3s
@user-gc1iq1ge3s 7 ай бұрын
😂😂😂How was it using the Command Line Interface???
@pumbo_nv
@pumbo_nv 9 жыл бұрын
My little brother once asked me how does a computer work. So I showed him this video. He never asked me anymore.
@dr.facilier4322
@dr.facilier4322 6 жыл бұрын
bahaha
@uppset_dave4982
@uppset_dave4982 5 жыл бұрын
Lol
@uppset_dave4982
@uppset_dave4982 5 жыл бұрын
He probably built one under his bed
@Zmzmjz
@Zmzmjz 5 жыл бұрын
Life lessons
@rechitsapivo
@rechitsapivo 4 жыл бұрын
He was probably like "Fuck this, I don't wanna die alone" ;-P
@ruigomes8652
@ruigomes8652 4 жыл бұрын
We should award noble prizes to those who come up with a CPU design... they were true masterminds!
@darylallen2485
@darylallen2485 4 жыл бұрын
Jon Von Neumann
@herrfriberger5
@herrfriberger5 4 жыл бұрын
@@darylallen2485 That was NOT the guy... He was just a clever academic that summarized and abstracted other peoples constructions or designs, and got far to much credit for it. One of the first that actually designed and built a fully programmable CPU and computer from scratch was the German Civil Engineer Konrad Zuse, in the 1930s.
@Xth3Z
@Xth3Z 4 жыл бұрын
@@herrfriberger5 You are totally correct. Von Neumann basically just created a simple model from the complex architecture of a CPU back in the day.
@AVcomps1
@AVcomps1 4 жыл бұрын
@@Xth3Z a standard model, I think you mean :)
@awol6574
@awol6574 4 жыл бұрын
It has been perfected over time it took 90 years
@edwinjoy2547
@edwinjoy2547 3 жыл бұрын
The most comprehensive and exciting 20 minutes to learn such a great technology. Thank you 😊
@hanutus4859
@hanutus4859 2 жыл бұрын
I love how you managed to explain something so complicated (seemingly) in such a simple way that I understood it. Thank you!
@BalloGameplay
@BalloGameplay 7 жыл бұрын
Got lost at 0:00
@kanva4
@kanva4 5 жыл бұрын
Well, at least I was better. I got lost at 0:02
@Blo0dyAss
@Blo0dyAss 5 жыл бұрын
Both doing great, i got lost in the ads
@RanaRandom
@RanaRandom 5 жыл бұрын
install a UBLOCK extension. have fun
@krshah2008
@krshah2008 5 жыл бұрын
@@Blo0dyAss lmao
@konradd7284
@konradd7284 5 жыл бұрын
Just understand that ram and Cpu get data from each other and when the binary numbers are added together they create memory and it gets stored on the cpu
@24grantj24
@24grantj24 6 жыл бұрын
So... basically we tricked rocks into thinking? got it
@hfyaer
@hfyaer 5 жыл бұрын
It's not thinking damit!
@KaRuNaRuGa
@KaRuNaRuGa 5 жыл бұрын
*Sand
@Lazlo.
@Lazlo. 5 жыл бұрын
Pretty much
@richresells1684
@richresells1684 5 жыл бұрын
@@KaRuNaRuGa sand is just tiny rocks
@mistersmith6752
@mistersmith6752 5 жыл бұрын
who are we?
@niceguy6384
@niceguy6384 3 жыл бұрын
8 years ago an awesome guy made this masterpiece and disappeared where are you man? the world needs more of this.
@adabujiki
@adabujiki 4 жыл бұрын
Love this guy’s speech pace and voice and ever so subtle humor
@mcgibs
@mcgibs 9 жыл бұрын
All this so I can throw turtles into the ocean in Crysis.
@andrejhorvat378
@andrejhorvat378 9 жыл бұрын
mcgibs LOL
@isay685
@isay685 9 жыл бұрын
mcgibs Lol
@Pickelhaube808
@Pickelhaube808 9 жыл бұрын
***** *it is for me!* _XD_
@StackableGoldMC
@StackableGoldMC 9 жыл бұрын
mcgibs Is this why we get files we dont need??
@jamessmith84240
@jamessmith84240 7 жыл бұрын
Hahahaha ;)
@BangMaster96
@BangMaster96 5 жыл бұрын
Think about this, your CPU is actually doing all the things described in this video, as you are watching the video, and reading this comment.
@Klazyo
@Klazyo 5 жыл бұрын
@@peace1033 Are you comparing the human brain to a computer ?. No match dear .
@diegodekruif3772
@diegodekruif3772 5 жыл бұрын
@@Klazyo r/woooosh
@OscarDiaz-nn9ch
@OscarDiaz-nn9ch 5 жыл бұрын
In 1974 when the first computer had a 4bit operative system, coding and decoding binary codes each one at a time...watching this in your 16 core 64 bite CPU running windows crap 10 processing shit at 64 bit all at the same time?!?!?!?! We are going to get kill by computers in less than 10 years
@secrecy3915
@secrecy3915 5 жыл бұрын
CPUception
@hannes0000
@hannes0000 5 жыл бұрын
@@Klazyo Human brain is actually more powerful than top tier CPU's
@bitkurd
@bitkurd 3 жыл бұрын
Within 30 years, We literally went from 2 times per second to several billion times per second
@DineSpack
@DineSpack 3 жыл бұрын
More like 1000 to several billions (6502 clockspeed is something between 1000 and 3000 Hz)
@wvisser4299
@wvisser4299 3 жыл бұрын
Cant wait to see another 30 years lol
@datboi1026
@datboi1026 3 жыл бұрын
Soon we’ll be pushing the limits of quantum mechanics to make our transistors the size of just a couple atoms. Crazy times indeed my dude
@organicfarm5524
@organicfarm5524 3 жыл бұрын
@G E T R E K T 905 *electromechanical
@epicestpoopmunchergangepm7962
@epicestpoopmunchergangepm7962 2 жыл бұрын
@@DineSpack my CPU is a ryzen 2200g with a base clock of 3.5ghz (3.5 billion times per second) and i can overclock to about 3.9 ghz (3.9 billion times per second)
@cameron7957
@cameron7957 3 жыл бұрын
I love how you explained this. It makes perfect sense. I had no idea that the processor processes one instruction at a time at that rate of speed.
@johnpro2847
@johnpro2847 2 жыл бұрын
maybe ..but just how does it process one instruction at a time if they are only electrical charges.
@someonenobody2070
@someonenobody2070 2 жыл бұрын
@@johnpro2847 it's a maze, if the electricity follows a specific path it reaches point were lets say for example that lights turn on and we see those lights and understand what is means, how? When you see what i wrote here its because of the lights or should i say pixels that are tunred on , its a siple black and white background, if we want colors it's the the same process, great now you can see images too.
@axelnils
@axelnils Жыл бұрын
@@johnpro2847 Go get a computer engineering degree if you want the actual answer.
@Thandidladla
@Thandidladla 5 жыл бұрын
I was so fascinated by this explanation. It just had dozens of little lights turning on in my head. Really really helpful! Thank you so much!
@thomasdavies2218
@thomasdavies2218 2 жыл бұрын
👍amazing
@electronicfootball9219
@electronicfootball9219 2 жыл бұрын
Amazing how it transformed the impulse firing in your brain 🤝
@charliefoxtrotthe3rd335
@charliefoxtrotthe3rd335 9 жыл бұрын
Right off the get go my mind froze. When he made the statement about the clock turning on and off two times per second on the 6502 chip, I was okay. Then when he said that modern CPU's turn off and on billions of times per second...that is when I lost it. I cannot envision a second divided into a billion parts. That fact in and of itself is damn near magic to me. Oh, I can understand it at an academic level. A chip running at 5 Ghz is 5 billion times per second. Okay, moving on...It's the visualization of that process that really ties up my noodle in knots. Almost magic to me!
@bennemann
@bennemann 8 жыл бұрын
Täking Thë High Roäd Please don't read up anything on the upcoming game No Man's Sky then, especially its number of fully explorable planets... you'll die of a sudden aneurysm.
@kalphitekil
@kalphitekil 8 жыл бұрын
+bennemann I doubt it, just another minecraft
@gwho
@gwho 8 жыл бұрын
+bennemann the number of galaxies in the universe. yes.
@stoppi89
@stoppi89 8 жыл бұрын
+Täking Thë High Roäd Compared to how a car or a refrigerator works, this is pretty much magic.
@gazlink1
@gazlink1 8 жыл бұрын
+Täking Thë High Roäd There are many subjects in technology and science that you have to understand that your intuition would not be capable of simply "getting it". You intuition is flawed for the modern world. I can't imagine a light flash on for one billionth of a second, but I don't care, all I know is that 1 billion of those flashes put together would be a light staying on for a second, if I even wanted to bring it near to something I could intuitively get. Or I could not care, and I don't and just say it happens a billion times a second. Once you let go of your intuition you can carry on to quantum mechanics.
@RoohaAli
@RoohaAli 2 жыл бұрын
My computer architecture teacher should show this presentation in class. We student literally don't have any idea what's going on inside it. I always thought it's beyond my comprehension to understand how CPU works only scientists can exactly know. That person should be called talent who explain better than other. You are one of them 👌
@josueochoa9267
@josueochoa9267 4 жыл бұрын
Love this kind of content. Will be looking at this book. I’m currently working on getting my CCNA with Cisco!
@Jeebuus
@Jeebuus 8 жыл бұрын
it's truly amazing how some guys spent hours scratching their heads coming up with this stuff.
@TheValorantGuy
@TheValorantGuy 5 жыл бұрын
I'd say months.
@alinnman
@alinnman 5 жыл бұрын
@@TheValorantGuy I'd say millions of man-years
@tralphstreet
@tralphstreet 5 жыл бұрын
@@TheValorantGuy Years. These cpus are product of a shit ton of years and research that involved thousands of people, they are so complex because of all the work they have behind.
@Hikutachama
@Hikutachama 5 жыл бұрын
Id imagine many loved doing it
@andreranulfo-dev8607
@andreranulfo-dev8607 6 жыл бұрын
After reading the book, I rewatched this video, and finally, I understood the whole process. It's mindblowing!
@sirvapalot
@sirvapalot 4 жыл бұрын
the computer is quite the advancement from the abacus and the calculator , mindblown
@andreranulfo-dev8607
@andreranulfo-dev8607 4 жыл бұрын
@Texsic It's awesome!
@hannachoi7
@hannachoi7 9 ай бұрын
Tell me
@lewisv.3675
@lewisv.3675 3 жыл бұрын
EXCELLENT description! This has made things a lot more clear about the CPU on my obsessive journey into Digital Design. Many thanks. Just bought the book from Amazon.
@autonomousspirit42
@autonomousspirit42 8 ай бұрын
I have to watch this at twice the original speed for my learning nature(...) but, the voice has a very good pitch and tone for studying, and not hurting my hyperacutic ears or putting me to sleep. Thank you for that. I was confused for most of this., but the entire knowledge of this video is now somewhere into my subconscious stream. Will watch again sometime.
@johnnyvvlog
@johnnyvvlog 7 жыл бұрын
After seeing this I'm amazed a computer even works
@shikhasingh4657
@shikhasingh4657 4 жыл бұрын
One of the nicest yet compact video for understanding actual hardware and software communication inside a CPU. Thanks a lot!!
@carlstenger5893
@carlstenger5893 3 жыл бұрын
Excellent video! I've been involved with computers since the 1960's. Your video (and Scott's book) are both excellent introductory sources for beginners. Thanks so much!
@lancesmith1874
@lancesmith1874 4 жыл бұрын
Awesome video! Now I have somewhat of an understanding of what's going on when I look at the internals of a computer. Thank you very much!
@andytheobliviator
@andytheobliviator 7 жыл бұрын
"I think I have some idea of how this works, but I want to know more." 20 minutes later, "Holy crap it's witchcraft."
@KungKras
@KungKras 7 жыл бұрын
If you think so, then I probably shouldn't tell you about pipelined superscalar multi-core processors :D
@ApocalypsisSalvator
@ApocalypsisSalvator 7 жыл бұрын
lols overclocked :D
@Keshaire
@Keshaire 6 жыл бұрын
Bro start playing Minecraft and this will make a whole lot more sense.
@cgme7076
@cgme7076 6 жыл бұрын
HAHHAHAHA! Best comment ever
@MrTomas7777
@MrTomas7777 5 жыл бұрын
@@KungKras Also out-of-order execution and speculative execution XD
@commanderbly009
@commanderbly009 10 жыл бұрын
This is so fascinating and complex, we take this for granted so often. Excellent video!
@arvindvijayan8211
@arvindvijayan8211 10 жыл бұрын
true!!
@summitsecuritydoorandlock
@summitsecuritydoorandlock 3 жыл бұрын
This was perfect, a great base to learn from! Well done sir
@vessaliusjack2360
@vessaliusjack2360 Жыл бұрын
This is what my teacher told me to study for my project even though my project is only to make a digital voltmeter. Idk if I could be able to redescribe those information in my report but you have my appreciation regardless. Thank you
@PatrickHolensaber
@PatrickHolensaber 8 жыл бұрын
Non pc-geeks: OH WOW I THOUGHT IT RAN ON MAGIC!
@vicsar
@vicsar 8 жыл бұрын
+Patrick Holensaber Not far from it: "Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke.
@randyzhu9705
@randyzhu9705 8 жыл бұрын
+Patrick Holensaber PC-Geeks:: ermaged i haz 5960X
@PatrickHolensaber
@PatrickHolensaber 8 жыл бұрын
Randy Zhu That's called an Enthusiast.
@vicsar
@vicsar 8 жыл бұрын
Oh. +Nereus C'mon. That is just an unfair, untrue, and offensive generalization. Not all of us spend that much money.
@randyzhu9705
@randyzhu9705 8 жыл бұрын
oeiwyuzl84332165 OK.............................
@gundeep0
@gundeep0 7 жыл бұрын
I have studied it in detail when i was doing my engineering, but I really loved the way you explained it so well in 20 mins, when I first saw the title I wasn't expecting it to be this good. Great Job !!!! Will checkout other videos on this channel too
@the_legendary_poseidon
@the_legendary_poseidon 2 жыл бұрын
Hey, I can kinda assume that you're Indian from the name but I'm sry if you're not, but I've just finished my secondary education and I would give anything to learn these things in all the detail there is, so can you just tell me the name of the course or which places I have to look at ? Thanx
@ryankim246
@ryankim246 3 жыл бұрын
When I first saw this video, I was really confused, but after learning Computer Science Principles and building my own pc, and watching it again, I can get a general idea of how it works. Thank You!
@arvinddhiman8706
@arvinddhiman8706 2 жыл бұрын
bro what hahahahaha
@Crashoverride1234
@Crashoverride1234 4 жыл бұрын
Guess I’ll just go back to chasing butterflies in the backyard :(
@nettechbluesky6018
@nettechbluesky6018 4 жыл бұрын
nice point
@solar11781
@solar11781 4 жыл бұрын
I'm in
@digitaldazzle5836
@digitaldazzle5836 4 жыл бұрын
Crashoverride. Hahaha!! 😂🤣
@dsandoval9396
@dsandoval9396 3 жыл бұрын
Reads book: What is a butterfly.
@sketchpad7116
@sketchpad7116 2 жыл бұрын
Just wait until you hear about how complicated butterflies are
@kingc8531
@kingc8531 7 жыл бұрын
This is an amazing video, totally cured my insomnia. I was asleep by the 10 minute mark
@AVcomps1
@AVcomps1 4 жыл бұрын
Hahahahahaha
@MrBomer213
@MrBomer213 5 жыл бұрын
Thank you so much for the knowledge you’re sharing. I’ve took so many courses , computer architecture, integrated circuits ,multiple Assembly language , etc , etc and this video just puts all pieces together 👌🏿🙏🏿🙌🏿
@felixgerlach3962
@felixgerlach3962 Жыл бұрын
Great 20 min explanation! Really helps get the basics in, thank you for this lesson!
@thijsolijerhoek2725
@thijsolijerhoek2725 2 жыл бұрын
I'm new to the computer science field, and this 20 minute video explained my past 10 hours of lectures. thanks so much!!!
@kallikantzaros
@kallikantzaros 5 жыл бұрын
This is one of those videos that you need to watch 10 times in order to understand it completely. Nice job
@Otyg
@Otyg 8 жыл бұрын
I think this might be the best teacher I've ever come across my entire life. Most teachers are ruining every subject in existence by not being able to explain it so that students actually understand.
@cigersuz
@cigersuz 7 жыл бұрын
David Forslund i suggest you to watch andrea morello's video series filmed by the channel 'veritasium' about quantum computers
@chadliampearcy
@chadliampearcy 6 жыл бұрын
I suggest betterexplained, 3blue1brown, Socratica, NancyPi, mathloger, and patrick jmt for mathematics
@dreamcatcher9712
@dreamcatcher9712 3 жыл бұрын
Wow much informational video! Sequential and in-depth!! Felt like listening to a story!!! 😁 Great work ❤️
@MyStiCstudios777
@MyStiCstudios777 4 жыл бұрын
Saw this video about 4 years ago and I didn't understand a single thing. Saw it today thinking '' Hey maybe i'm smarter now and I'll understand it ''...............I'll come back In 4 years
@Gomer._.
@Gomer._. 9 ай бұрын
Come back now, and read the Wikipedia article too, you need to widen your sources smh!!!!!
@cyberbobization
@cyberbobization 7 жыл бұрын
Awesome man. Fully understood the concepts. Keep making more of these.
@mostafakhadr5640
@mostafakhadr5640 5 жыл бұрын
This video made it very clear to me from a distant observing point. I studied electrical engineering and I was introduced to digital systems, transistors, logic gates, registers, etc .. also I have a programming background but I couldn't fit all of these information in a proper way that allows me to understand how a CPU might work. Now I can say I could make it to the first 1% of computer engineering and I'm depressed.. note that the video talked about building blocks like (ALU, CONTROL UNIT etc) there is more hell inside!
@JAndCeline
@JAndCeline 3 ай бұрын
@pawnraz
@pawnraz 2 жыл бұрын
Now this is what I was looking for!! Very neatly explained, Loved it ❤️
@andreranulfo-dev8607
@andreranulfo-dev8607 4 жыл бұрын
Because of this particular video (And also the book), I had no problem in Computer Architeture course in my Computer Engineer course. Thanks for sharing yout knowledge.
@fallenhw
@fallenhw 9 жыл бұрын
How did someone even think of this and invented it, it's mind blowing.
@techn0boy
@techn0boy 9 жыл бұрын
It started off very simple. A simple class in electronics would give you what you need to start designing your own processor. Remember that these engineers were developing something that didn't even exist, and when they did develop it, it was revolutionary but crap compared to modern processors. It was not one man that invented it in one space of time, but millions of people over many years.
@bottwaandcalover
@bottwaandcalover 9 жыл бұрын
A lot of people making baby steps over 120+ years. It's amazing what humans can accomplish.
@1234567895182
@1234567895182 9 жыл бұрын
yea its kinda like cars. The first car was horrible but it revolutionized modern society today. You could literally WALK faster than the first car invented, but ofcourse over many years (which isnt even that long) we now have super amazing cars that can go as fast as airplanes at takeoff speed. It is amazing!
@JackoBanon1
@JackoBanon1 3 жыл бұрын
It's like car engines and transmissions. It started very simple back in the old days so that every blacksmith could repair it but every generation added more and more stuff to make it more powerful and efficient so that nowadays you feel stupid if you watch videos that explain how modern engines and transmissions work.
@mazarinee
@mazarinee 3 жыл бұрын
(i have experience designing minecrzft CPUs) it goes from a clock and some more stuff, then goes to more complex stuff, then to Scott cpu
@matejmatej3554
@matejmatej3554 8 жыл бұрын
I can finally see how stupid I am I don't understand one bloody thing
@KarateLizard
@KarateLizard 8 жыл бұрын
Nah, you're not dumb. This stuff really is hard, it takes time to get it down :)
@DrittungenAppelsinen
@DrittungenAppelsinen 8 жыл бұрын
lol
@pieadapter3615
@pieadapter3615 7 жыл бұрын
I'm with you bro
@cogs11
@cogs11 7 жыл бұрын
You have to know computer architecture, basics in assembly language and introduction to programming to understand this.
@Blag_Cog
@Blag_Cog 7 жыл бұрын
You don't need to understand basics in assembly langauge to understand this. You need to understand this to understand basics in assembly langauge though.
@user-pm4vd6ij8i
@user-pm4vd6ij8i 2 жыл бұрын
Amazing! This is the MUST SEE video on my list. So clear and helpful. Thank you so much!
@Soulzarath1
@Soulzarath1 8 жыл бұрын
This is a highly informative video, thank you very much.
@Youkesama
@Youkesama 8 жыл бұрын
Now I feel sad for overclocking my CPU .. I feel like i'm trying to make a labor worker to make me coffee and dance while doing his job at the same time :'(
@abdullahalmasri612
@abdullahalmasri612 8 жыл бұрын
+Youkesama i feel even more bad cuz i overclocked it to watch porn in 60fps
@philipemaciel5152
@philipemaciel5152 8 жыл бұрын
+abdullah almasri faps per second
@predatortheme
@predatortheme 8 жыл бұрын
+abdullah almasri ^Overclocks CPU to watch porn in 60fps.
@rektnerd4707
@rektnerd4707 8 жыл бұрын
when that happens,i remember it isnt sentient
@SSToor
@SSToor 8 жыл бұрын
+abdullah almasri over clocking GPU would have helped more
@abdallahfarhat8109
@abdallahfarhat8109 6 ай бұрын
it has been a week that I am learning about this topic and i can for sure say that this was the best explanation i've heard.
@americanspirit8932
@americanspirit8932 3 жыл бұрын
This was my world I work for AT&T and I will electronic switching systems for fiber optic systems this was my area of expertise where I felt the most at home, we used a 64-bit instruction containing data. Great explanation for somebody that was never exposed to the CPUs I apologize for voice recognition.
@MikeeCZ
@MikeeCZ 8 жыл бұрын
What a mind blowing video.. eye opener what a miracle computers are... Ohhh thanks frak for nerds and geeks, being laughed at, inventing the most miraculous and most important technologies for human kind. My mind just cannot percieve the insane rate of all of this happening and much more on todays even cheapest CPUs and all so easily accesible and portable. Fantastic..Thank you for the video.
@cortster12
@cortster12 8 жыл бұрын
+Mikee CZ ugh, I hate the world 'miracle'. It makes it sound like it is some mystical thing that is given by the gods.
@avnwx5526
@avnwx5526 8 жыл бұрын
+Mikee CZ yeah, electronics is pretty much the only industry where the improvement is exponential. Moore's law is pretty nuts and it went farther than anyone predicted. And now some of these complicated integrated systems cost only a few cents to produce and sell to you.
@cortster12
@cortster12 8 жыл бұрын
AVN WX Except pretty much everyone into electronics, and Moore himself. Moore predicted it, hence Moore's law.
@avnwx5526
@avnwx5526 8 жыл бұрын
Moore's law was merely an observation, and it was only made possible by the process engineers being able to shrink down the chips so much. Over the decades it's been repeated said that Moore's law was in trouble due to the problems inherent in lower process nodes, yet there were a large number of innovations in order to keep it going.
@cortster12
@cortster12 8 жыл бұрын
AVN WX And isn't that a big part of what science is? Making predictions about the future based on observations past and current?
@iamjobless910
@iamjobless910 5 жыл бұрын
I appreciate your work and I wish to see many more basics related videos from you. Thank you
@user-du5it4gv5e
@user-du5it4gv5e 3 жыл бұрын
Thanks a lot. This video is really I was looking for so long!
@merlinmystique
@merlinmystique 4 жыл бұрын
Man this was an AMAZING lesson, thank you!
@abhi_galav
@abhi_galav 5 жыл бұрын
This is really nice..you should do more of these on kernel or other operating system topics
@ritoshirsasarkar8301
@ritoshirsasarkar8301 2 жыл бұрын
This is probably the best video about CPU architecture and working I have seen in my life, thus far.
@firasbajjar
@firasbajjar 2 жыл бұрын
My brother this video is beautiful, I hope you decide to do more of these in the future because they truly are a godsend.
@shivamjis
@shivamjis 4 жыл бұрын
thanks for making such a knowledgeable video with such beautiful presentations it helped me a lot!
@gtamediaproductions1
@gtamediaproductions1 9 жыл бұрын
I am going back to drawing on paper and playing with my Etch a Sketch.
@Repented008
@Repented008 8 жыл бұрын
+Rick Scicluna Hahahahahaaaaaaaaaaah!!!! That's why you always respect a man's work, homie! Gotta hand it to 'em, these guys are bosses.
@stephenhowlett6345
@stephenhowlett6345 6 жыл бұрын
Rick Scicluna wow you can use an etch a sketch, damn I've been trying for ages but I can't find the on button.
@purplewarrior1830
@purplewarrior1830 3 жыл бұрын
I had to teach a class on this subject, but couldnt put it in words. This helped me a lot. Thanks
@ataaslan5177
@ataaslan5177 3 жыл бұрын
This is so helpful it really explains alot and at the same time really well!
@narf0339
@narf0339 7 жыл бұрын
Damn good video, i need to recommend this to my friend, he always couldnt sleep, after i watch this last night, i fall asleep before the video ends, please make more of these.
@amuletgames1046
@amuletgames1046 4 жыл бұрын
This is brilliant. For me learning this 10 years ago when i was in high school is very much waste of time, now i have learnt to appreciate and being grateful to work with computers
@gabrieladmasu3919
@gabrieladmasu3919 5 ай бұрын
I love your lecture, and the last message was amazing
@DeepakKumar-qy8fy
@DeepakKumar-qy8fy 3 жыл бұрын
Great video ... Brilliant content 👌 ... No extra talk .... Just right on spot . Bravo 🙏
@ydox
@ydox 4 жыл бұрын
This is by far the best visualization I saw on CPU explanation
@HONORGUARD308
@HONORGUARD308 10 жыл бұрын
This is the best video on the topic I've seen yet, good stuff
@toxictwig1
@toxictwig1 3 жыл бұрын
Hey thank you for this amount of hard work for letting us have this info.
@alielhefnawey5764
@alielhefnawey5764 2 жыл бұрын
You make me love the computer architecture course subject Amazing and perfect explanation... That's really helpful.... Lots of thanks
@TechRedstone
@TechRedstone 7 жыл бұрын
After messing with redstone and building a minecraft computer it is worlds easier to understand this.
@paddydoestech
@paddydoestech 7 жыл бұрын
Same dude
@BlueAsterismSolstice
@BlueAsterismSolstice 7 жыл бұрын
That's what I thought! Just everything clicked.
@gismosgadgets8343
@gismosgadgets8343 7 жыл бұрын
doing that right know on ORE
@TechRedstone
@TechRedstone 7 жыл бұрын
Kishore G. originally I built alu units out of just connecting and gates because I knew that would work. of course, I learned about xor gates later on. you can build a computer just by messing around, it just takes time
@definitelyarussianpaidtrol1406
@definitelyarussianpaidtrol1406 7 жыл бұрын
Minecraft deserves some credit for this, now that I think about it. It's a game with two basic building blocks out of hundreds, redstone and redstone torches that could be used to make a computer that can actually run a game. I wonder if it would be possible to create a computer in minecraft that could possibly even run a version of minecraft in 1080x1920 resolution, it would take years to build (or using a native plugin, you could have it built for you, like the one used to recreate the Netherlands in minecraft.)
@saskiavanhoutert3190
@saskiavanhoutert3190 5 жыл бұрын
Very clear and understandable explaining thank you, like to hear more
@franzageek
@franzageek Жыл бұрын
I recently got the book, it’s amazing how a thing you can hold in your hand can do complex things like those. Really nice video, this way we can make the computer world known among even more people!!
@Squash101
@Squash101 2 ай бұрын
had to keep going back and forth but got the gist of it. Still insane how trillions of instructions are done. Can't wrap my head around the true scale
@WessonSnyder
@WessonSnyder 8 жыл бұрын
This video just leaves me with even more questions. Like how does the control unit work? How does the cpu know when to do what? I mean it cannot think by itself so how does that work. Also how is a program I wrote processed. I can't even explain my questions
@hemicar92
@hemicar92 8 жыл бұрын
+Toxicz There is something called a Program Counter (PC), that reads all the instructions and sends them to registers and CPU accoridngly. CPU actually knows nothing, it just reads a Program Counter (PC) and does what it PC tells him to. Your second question: The program you wrote in some form of programming language is first being compiled, than it is translated to a machine code(a language that computer can read), and from than on it does what i wrote you at the begining. Hope this helped
@Renanmsantori
@Renanmsantori 8 жыл бұрын
+Toxicz rewatch the video =D it explains most of your doubts. The CPU knows when to do what because of certain instructions, instructions that are coded and specified with each algorithm.
@fejfo6559
@fejfo6559 8 жыл бұрын
+Toxicz This type of thing is pretty much true for all knowledge the more you know the more questions you can ask about what you know.
@TAWithiam
@TAWithiam 8 жыл бұрын
+Toxicz The control unit knows what to do for each instruction with a series of decoders (one for each instruction type) which only activate if the instruction matches a specific binary code. For example if the instruction has a code (lets say 2, which would be 00000010 in the register) that means to jump to a new position, it would know that it is a jump command because there would be a dedicated circuit in the control unit that would only be activated if the appropriate instruction was in the cpu. Beyond this it gets into logic gates and if you want to know how all that works, I would look at redstone tutorials (yes redstone, from minecraft) as redstone is basically binary circuitry in disguise. As to how it knows when to do what, it uses a rising edge mono-stable circuit (getting into logic gates, basically a circuit that makes an electrical pules on the activation of its input wire but does not do anything more until its input is turned off and on again) and a falling edge mono-stable circuit (activates on the input turning off) hooked up to the clock wire so it does half of its functions when the clock goes on and the other half when it turns off. The mono stable-circuits are often hooked up to the various set wires of the registers through an and gate with the other wire connected to the output of the binary decoder that detects if the right instruction is activated. Hope that helps and is readable.
@alexanderdonets5321
@alexanderdonets5321 8 жыл бұрын
And that is right. You can't study such things in 5 minutes, there are thousands of pages in books explaining details. Anyway, it's tens of years of experience.
@psychyouout709
@psychyouout709 4 жыл бұрын
This makes an amazing amount of sense.
@globalbusinessmachines3122
@globalbusinessmachines3122 2 жыл бұрын
The way you explained it, is better than what the original Intel video does... WHAT AN EXPLANATION... GREAT JOB.
@drjswizzle8235
@drjswizzle8235 2 жыл бұрын
Spectacular explanation for me good sir. I had no idea and now I do. Thank you
@ElPikacupacabra
@ElPikacupacabra 7 жыл бұрын
This is an amazing tutorial. Best tutorial I've seen on KZfaq, and I don't think I'm exaggerating.
@glueee2621
@glueee2621 8 жыл бұрын
Wow, I just learned how a computer fundamentally works in a total of 20 mins. Great video In one lesson, well done.
@chowishkumarjaim9191
@chowishkumarjaim9191 3 жыл бұрын
It's very useful what your guiding. The top u explainef is directly nicely set into my brain and i can enable it when ever
@havkacik
@havkacik 2 жыл бұрын
one of the best explanation of how CPU works. I need to check the book probably as well
@MinecraftMineturtle
@MinecraftMineturtle 8 жыл бұрын
I learned so much, thank you Good Sir!! :)
@MosesMatsepane
@MosesMatsepane 5 жыл бұрын
An entire semester of Computer Engineering/Science in one video. :)
@christophersantini2721
@christophersantini2721 4 жыл бұрын
Yes, but it would still take an entire semester or more to really understand the subject.
@AVcomps1
@AVcomps1 4 жыл бұрын
Computers Technology subject, which is in first year I think, also this is studied, but is more related to performance, cache and memory analysis, in the later years.
@awol6574
@awol6574 4 жыл бұрын
There is much more to computer science this is more like electronic s engineering
@Gab0ME
@Gab0ME 3 жыл бұрын
@@awol6574 Definitely, I study Mechatronics and we studied all this. Computer Science is more focused to coding and developing software, I believe.
@vejymonsta3006
@vejymonsta3006 3 жыл бұрын
This video is a simplification really. There is more inside your modern CPU than an ALU and control unit.
@Enthos2
@Enthos2 Жыл бұрын
This was fantastic. Very relaxing voice btw
@moise6792
@moise6792 Жыл бұрын
That's a lovely explanation. Thank you so much!
@xldkxnewyorker8914
@xldkxnewyorker8914 7 жыл бұрын
"How a CPU Works" Science
@sennib1365
@sennib1365 7 жыл бұрын
Magic
@Doge-vz1lk
@Doge-vz1lk 7 жыл бұрын
Black magic
@chictownguy
@chictownguy 7 жыл бұрын
magic the gathering?
@dr.cringe5045
@dr.cringe5045 5 жыл бұрын
🎵"F%$ing magnets how do they work!?"🎵
@gamerwg5411
@gamerwg5411 5 жыл бұрын
Burn it its fucking witchery.
@archanamehrotra741
@archanamehrotra741 3 жыл бұрын
One word, PHENOMENAL!
@devanshushakya_
@devanshushakya_ Ай бұрын
THANKYOU!! For this amazing explanation 🙂
@AlexSeligerX
@AlexSeligerX 2 ай бұрын
Thanks, that explanation is very clear and interesting!
@megametx6541
@megametx6541 4 жыл бұрын
9:00 when teacher start the lesson 16:00 when i started to use my brain
@himanshu7103
@himanshu7103 3 жыл бұрын
underrated comment but that kinda true , this happens a lot during classes , when my mind says lets take this seriously now and then i look at the board and realize its too late now
@alwinvillero4404
@alwinvillero4404 3 жыл бұрын
@@himanshu7103 lol
@lawoftheuniverse8089
@lawoftheuniverse8089 3 жыл бұрын
No, you started using it at 16:20 :)
@someoneontheinternet3090
@someoneontheinternet3090 5 жыл бұрын
This is the most informative ASMR video I've ever seen
@justintruelove538
@justintruelove538 3 жыл бұрын
Absolutely excellent overview.
@SweetzLee
@SweetzLee 3 жыл бұрын
Brilliant explanation! Very, very helpful! Thank you!!!
@ldbboosha
@ldbboosha 6 жыл бұрын
Two things: 1. The future is amazing 2. "But How Do It Know" is a hilarious book title.
@brahimaamri8984
@brahimaamri8984 3 жыл бұрын
10/10
@himanshu7103
@himanshu7103 3 жыл бұрын
not agreed to your first statement bro. and i have a great reason for that
@felipebrunetta2106
@felipebrunetta2106 3 жыл бұрын
@@himanshu7103 The future is as exciting as it is frightening. But even considering that, one can say it is amazing
@jimitsoni18
@jimitsoni18 3 жыл бұрын
You're simply ahead of time
@himanshu7103
@himanshu7103 3 жыл бұрын
@@felipebrunetta2106 i consider the life before social media and involvement in screen and after that , its pretty common now to lost in self thinking and ideal life inside mind then doing anything in reality . i also consider the data business of big companies and how they are making sure that people will stick to their phones more and more. i also consider the modern values and morality for money making (which is not good actually) and most important i consider the effects on environment . how in current system a dead tree is more worth then living, a dead whale is more valuable. people who do that don't like it but their already good and big image in society and profit make them ignorant . ignorance nowdays is More harmful than wars
How Does a CPU Work?  |  1,700,000,000 transistors!?
6:27
Rasam Asrani
Рет қаралды 48 М.
How does Computer Memory Work? 💻🛠
35:33
Branch Education
Рет қаралды 3,6 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 36 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 29 МЛН
Miracle Doctor Saves Blind Girl ❤️
00:59
Alan Chikin Chow
Рет қаралды 52 МЛН
How a CPU is made
10:16
DIY with Ben
Рет қаралды 14 МЛН
How a Computer Works - from silicon to apps
42:32
Improbable Matter
Рет қаралды 1,2 МЛН
Creating A 6502 Microcontroller for Minecraft!
13:44
Elmfer
Рет қаралды 53 М.
How TRANSISTORS do MATH
14:22
In One Lesson
Рет қаралды 2,1 МЛН
How do Computer Keyboards Work? 🤔⌨⌨🛠
11:09
Branch Education
Рет қаралды 1,1 МЛН
The billion dollar race for the perfect display
18:32
TechAltar
Рет қаралды 2,2 МЛН
Transistors Explained - How transistors work
18:20
The Engineering Mindset
Рет қаралды 18 МЛН
CPUs Are Out of Order - Computerphile
15:09
Computerphile
Рет қаралды 186 М.