Reinventing the Processor

Author: kimylamp
Published At: 2023-11-01T00:00:00
Length: 09:44

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

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos