The Fetch-Execute Cycle: What’s Your Computer Actually Doing?
The fetch-execute cycle is the basis of everything your computer or phone does. This is literally The Basics. • Sponsored by Dashlane —try 30 days for free at: https://www.dashlane.com/tomscott
Thanks to Dashlane for sponsoring the video! If you’re techie enough to watch this video, you should be using a password manager. Get a 30-day free trial at https://dashlane.com/tomscott
MORE BASICS: https://www.youtube.com/playlist?list=PL96C35uN7xGLLeET0dOWaKHkAlPsrkcha
MINOR CORRECTIONS:
In the graphics, “programme” should be “program”.
I say “Mac instead of PC”; that should be “a phone instead of a PC”.
And most importantly, I say “every sixth cycle”: that should be “every ninth”.
Fortunately, none of these materially affect the content of the video!
Written with Sean Elliott https://twitter.com/SeanMElliott/
Directed by Tomek
Graphics by Mooviemakers https://www.mooviemakers.co.uk/
Audio mix by Haerther Productions https://haerther.net/
🟥 MORE FROM TOM: https://www.tomscott.com/
(you can find contact details and social links there too)
📰 WEEKLY NEWSLETTER with good stuff from the rest of the internet: https://www.tomscott.com/newsletter/
❓ LATERAL, free weekly podcast: https://lateralcast.com/ https://youtube.com/lateralcast/
➕ TOM SCOTT PLUS: https://youtube.com/tomscottplus
👥 THE TECHNICAL DIFFICULTIES: https://youtube.com/techdif

@TomScottGo
November 13, 2025 at 7:13 pm
And away we go with another season of three computer-science videos! A whole team made this happen: pull down the description for all the details! And thanks to Dashlane for sponsoring: you can find more about them at https://www.dashlane.com/tomscott
@ChillITGuy
November 13, 2025 at 7:13 pm
The snapping is horrible for misophonia. Could not watch the vid
@Nexico8225
November 13, 2025 at 7:13 pm
Computer was made for work and we're here using TikTok but not me
@torkakarshiro5170
November 13, 2025 at 7:13 pm
Wow, I did not know that Prince of Persia was coded that way. Very interesting.
@iamtharunraj
November 13, 2025 at 7:13 pm
I thought you were Linus…
@Ani_ka-z7s
November 13, 2025 at 7:13 pm
Gd gd
@2.2.4.4
November 13, 2025 at 7:13 pm
good video
@fulhamwestbrom222
November 13, 2025 at 7:13 pm
I feel stupid as I dun understand. I study electrical engineering before even .
@kattihatt
November 13, 2025 at 7:13 pm
How can you make this cpu cycle completely failsafe?
@DJgregBrown
November 13, 2025 at 7:13 pm
not all CPU have times.
@mo_i_nas
November 13, 2025 at 7:13 pm
I miss his videos 😢
@TheAnimeist
November 13, 2025 at 7:13 pm
5:54 That is not a proper reflection of what is going on, because the psuedo code has a comparison in it at while(true);
A better way would be to just use a goto.
@xuyennguyenthi1274
November 13, 2025 at 7:13 pm
I have no idea how a CPU works, thanks for making it understandable!
@SeoyoungJang-k9o
November 13, 2025 at 7:13 pm
real gem
@TechKOFFI
November 13, 2025 at 7:13 pm
@RocxamKong
November 13, 2025 at 7:13 pm
i noticed that the execute part of the cycle is not explained ,please explain it, i feel like ther eis is a deeper cycle with in the execute part,
@getOnDiscord
November 13, 2025 at 7:13 pm
flexing ur snap on us mortals
@Adullastronaut
November 13, 2025 at 7:13 pm
Thank you, this explained the instruction cycle in a way I can easily understand. The death by PowerPoint lectures at the university does not help.
@pandaonlinehero
November 13, 2025 at 7:13 pm
I undestood nothing… I'm so stupid for this stuff
@petergrimshaw492
November 13, 2025 at 7:13 pm
Thanks Tom great.
I was at Uni struggling years ago with coding but gave up because I could not get my head around what was going on in the background.
I want to build a really slow computer using gravity to prove I understand the principles.
This has been a great help!
@miguelmartin2706
November 13, 2025 at 7:13 pm
Llevo 3 años de carrera de ingienería informática viendo este video y me sigue sirviendo, god
@deseeman
November 13, 2025 at 7:13 pm
LOVE UR VIDSSS🤣🤣
@maleeshapriyanjana7604
November 13, 2025 at 7:13 pm
Great explanation about the instruction cycle. It was very harder procedure to imagine. But your demonstration makes it much better and simpler
@lucasfergui1024
November 13, 2025 at 7:13 pm
It would have been really cool if the clock was actually called the metronome since it dictates the speed of the processing
@Pamapamapop
November 13, 2025 at 7:13 pm
New intermediary language AI prompt, coding going down as background language.
@seanrodgers1839
November 13, 2025 at 7:13 pm
I have coded by typing hex directly into memory. Learned by myself at 15.
Was 6510, so not too hard
@rafunix
November 13, 2025 at 7:13 pm
Very good, please enable automatic translation of YouTube audio
@faxfir1027
November 13, 2025 at 7:13 pm
I think the reading metaphor creates many problems when it comes to understanding how the CPU works. I believe, and correct me if I'm wrong, that the CPU's genetic makeup contains logic circuits that are like interlocking machines represented by each instruction; it's like a labyrinth of data buses and electronic logic circuits. Rather than reading, circuits are switched on and off thousands of times per second.
@HAZEM2-i9e
November 13, 2025 at 7:13 pm
I can't imagine writing an entire game in assembly, hats off to the people who did that.
@raghavad.g7541
November 13, 2025 at 7:13 pm
Greetings, about the Fetch-Execute cycle, doesn't the PC increment its value when the data is getting decoded in the CIR. Is it for the sake of simplicity that this has been neglected or am I wrong. A clarification would be helpful.
@kianx2093
November 13, 2025 at 7:13 pm
Can you do same cycle but using MIPS ?
@rachelmnz1582
November 13, 2025 at 7:13 pm
Thank you for helping me understand what my computer organization professor has been trying to explain for weeks 😭🙏 he’s so ass at explaining stuff
@matheshvarma1893
November 13, 2025 at 7:13 pm
Wommala Tharmana explanation da
@omaryarali7805
November 13, 2025 at 7:13 pm
An amazing feature of compilers is their ability to optimize high-level code into machine code that is often remarkably efficient and can rival the performance of human-written assembly in many cases.
@DexieTheSheep
November 13, 2025 at 7:13 pm
i don't know if you're using a limiter/compressor cranked all the way up or if you're just layering a snap sound effect over the real one, but those sound so clean and satisfying
@OJdaKing2162
November 13, 2025 at 7:13 pm
Saving my Alevels🙏🏾 thanks bro
Comments are closed.