We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Reinventing the Processor
Summary
Description
This is Chapter 1 of the Machine Code Essentials series:
Chapter 1: ... you are here ...
Chapter 2: https://youtu.be/hKXNr8oAkk8?si=zwbKEQ4xiZsYtpOh
Chapter 3: https://youtu.be/17r77tWfYYU
Chapter 4: https://youtu.be/OKt1SPaqeVs
How does the CPU work?
We will try to understand all the fundamental ideas behind it.
What are CPU registers? How does the CPU work with memory? Why assembler looks like this? What is machine code? How to implement loops and if-else with machine code?
What we will have at the end will be very similar to modern any modern RISC processor like Arm or RISC-V.
00:00 Overview
00:10 Part 0. Calculator with registers
00:49 Part 1. Memory. Load and Store
01:58 Part 2. Instructions. 32-bit encoding
03:51 Part 3. Execution. Program Counter
04:45 Part 4. Cmp and Jump. If-else and loops
07:45 Part 5. Big picture
08:27 Final. Real machine code. Arm
Translated At: 2025-07-12T00:41:26Z