A processor's register file feeds data to the executing instructions and stores their results. In this video, we combine the register file and instruction fetch unit from previous episodes and take a closer look at how instructions can read and write registers, and deal with constant values that are part of the instruction stream. In doing so we extend the instruction encoding of our CPU, add "load-immediate" and "move" instructions, and introduce a new flavor of "jump" that works with registers.
This video series explores the concepts and techniques that make modern computer processors so incredibly fast and powerful. I build my very own 8-bit processor from individual logic gates and gradually evolve it to become a superscalar out-of-order machine. Along the way, we take a deep dive into contemporary computer architecture in a hands-on fashion and rediscover some of the foundations of modern computing.
Previous Video: • How a Register File Wo...
Series Playlist: • Build a Superscalar CPU
- Register File: en.wikipedia.org/wiki/Registe...
- Three-Address Code: en.wikipedia.org/wiki/Three-a...
- RISC: en.wikipedia.org/wiki/Reduced...
- CISC: en.wikipedia.org/wiki/Complex...
Chips:
- 74HC541: www.ti.com/lit/ds/symlink/sn7...
- 74HC139: www.ti.com/lit/ds/symlink/sn7...
- 74HC04: www.ti.com/lit/ds/symlink/sn7...
00:00 - Intro
01:20 - Multiplexing Immediates/Registers
05:34 - Immediate Buffer
13:29 - Testing
17:41 - Updated Instruction Encoding
21:55 - Connect RegFile and InstFetch
27:46 - Adding New Instructions
34:11 - Writing a New Program
41:30 - Testing
48:25 - Recap
51:20 - Outro
#homebrew #8bit #breadboard #superscalar #computer
17 июл 2024