How a CPU Works - - vimore.org

How a CPU Works

How a CPU Works

YouTube

Uncover the inner workings of the CPU. Author's Website: http://www.buthowdoitknow.com/ See the Book: http://amzn.to/1mOYJvA See the 6502 CPU Simulation: http://visual6502.org/JSSim/index.html For anyone annoyed by the breaths between speaking, try this unlisted version with edited audio: https://www.youtube.com/watch?v=IkdBs21HwF4 Download the PowerPoint file used to make the video: https://docs.google.com/file/d/0BzwHNpicSnW0cGVmX0c3SVZzMFk 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.



RAM Explained - Random Access Memory

Here is the RAM that I use in my PC: https://amzn.to/2KqHGwQ (affiliate) This is an animated video RAM tutorial. Topics include how RAM works, RAM speed, DRAM,

YouTube

See How Computers Add Numbers In One Lesson

Take a look inside your computer to see how transistors work together in a microprocessor to add numbers using logic gates. Get the book CODE that inspired the

YouTube

5 Hours, 15 Buckets And How Much Gold?

Not our biggest clean out but our best clean up. Even this day surprised us, since we been coming out here so often. You can purchase the V Mat kit, the Mothe

YouTube

How to recover data from a hard drive (stuck heads: buzzing, clicking, etc)

Does your hard drive make a buzzing noise when you turn it on? Or does it make clicking noises or not spin up? Well, in this video I will show you how to fix th

YouTube

Evolution Of Intel Processors 1971 - 2018

🔥🔥 We Can Reach 200,000 Subscribers !! 🔥🔥 👉 Don't Forget : Like 👍 , Share 💌 , Comment 💬 📌 | For contact 📨 : simondz18@outlook.com 🌐 | Follow Me Here : ↪︎ Insta

YouTube

2023 will likely be when we say goodbye

In NYC, it is common when buildings change ownership to ensure it is clear that there is no guarantee of lease renewal. A $17,000/month property will become a $

YouTube

How Do Touchscreens Work?

We use touchscreen displays for hours every day, but do you know about all the intricate layers and components that make them work? This episode goes into the

YouTube

The Most Difficult Program to Compute? - Computerphile

The story of recursion continues as Professor Brailsford explains one of the most difficult programs to compute: Ackermann's function. Professor Brailsford's p

YouTube

From sand to silicon

How silicon wafers for microelectronics are made from sand.

YouTube

Computer Hardware & Software Lesson Part 1

Part one of a two-part lesson teaches you about your computer's hardware. The material covered is just the general information. Presented by Arrash Jaffarza

YouTube

CompTIA A+ 220-601: 1.1 - Introduction to CPUs

See our entire index of CompTIA A+ videos at http://www.FreeAPlus.com - The CPU is the heart and soul of the personal computer, but how does it really work? In

YouTube

Binary Tutorial

All lessons are available free of charge at http://www.computerscienceforeveryone.com -- In this lesson you will learn how to write binary numbers, how to conve

YouTube

Inside the CPU - Computerphile

Bubbles in the pipeline? Some of the basic operations at the heart of the CPU explained by Dr Steve Bagley. EXTRA BITS: https://youtu.be/t_RnwTW87_Q Why CPUs

YouTube

The Future of Single Board Computers

Future SBC processors, RAM, storage and connectivity all discussed in a video featuring 19 single board computers! What will SBCs look like beyond the Raspberry

YouTube

Transistors, How do they work ?

Dear friends, Please support us at Patreon, so that we can continue our free educational service https://www.patreon.com/LearnEngineering The invention of tran

YouTube

CPU Cache Explained - What is Cache Memory?

What is CPU cache? This is an animated video tutorial on CPU Cache memory. It explains Level 1, level 2 and level 3 cache. Why do CPUs need cache?

YouTube

How does your mobile phone work?

For most of us, a mobile phone is a part of our lives, but I am sure your curious minds have always been struck by such questions as to how a mobile phone makes

YouTube

CPU Sockets as Fast As Possible

LGA 1151, AM3+, LGA 2011-3, FM2...it can be difficult to keep track of all the different modern CPU sockets! Here's what you need to know about them. Massdrop

YouTube

Transistors - The Invention That Changed The World

Your free one month trial at The Great Courses Plus: http://ow.ly/4rN0303M45M Thank you to my patreon supporters: Adam Flohr, darth patron, Zoltan Gramantik, J

YouTube