Learn how the most important component in your device works, right here!
Author’s Website: See the Book:
See the 6502 CPU Simulation:
Download the PowerPoint file used to make the video:
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.
1 view
34
6
2 days ago 00:20:19 1
Americans Find Heartwarming Stories on Chinese App RedNote
2 days ago 00:36:09 1
Why Fun Projects Are the Key to Saving This Building
2 days ago 01:05:38 1
SKINWALKING OWLS, WATER SPIRITS, BLUE LADIES AND SILVER UFOS (SN 18 EP 33) TRUE PARANORMAL STORIES
3 days ago 00:31:53 4
Tokyo Xtreme Racer - Customizing and Fully Upgrading 350Z
3 days ago 00:03:49 1
Battling a Dead Battery? TOPDON BT100 is Your Ultimate Weapon! - YouTube
3 days ago 00:04:36 1
Бессмертный хит. Сидни Ром “Hearts“ (1982г)
5 days ago 00:00:58 1
TrustHerb Sea Salt: The Natural Secret to Better Health and Flavor! #seasalt #PureSeaSalt #trustherb
5 days ago 00:32:17 2
The Dark World of Megachurches
6 days ago 00:07:16 1
Новости ВИП прорубь.Недорого
1 week ago 01:21:42 2
The Pope, the Environmental Crisis, and Frontline Leaders | The Letter: Laudato Si Film
1 week ago 00:27:17 8
PVM НЕ НУЖЕН! RetroScaler2X – RCA, S-Video, YPbPr и RGB? ОБЗОР ЛАЙНДАБЛЕРА
1 week ago 01:01:55 3
GREY ALIENS, BLACK SHADOWS AND PALE WHITE CREATURES (SN 18 EP 31) REAL PARANORMAL EXPERIENCES
1 week ago 00:11:54 1
Taj Experience | Taj Holiday Village Resort & Spa | Goa | The Offbeat Couple
1 week ago 00:03:38 1
Tired of Dry Air and Sleepless Nights? Here’s the Smart Humidifier That Has Your Back! - YouTube
1 week ago 00:22:17 1
Как обновить навигацию на MMI 3G+ — Audi A1/A2/A3/A4/A5/A6/A7/A8/Q2/Q3/Q5/Q7/TT (NAVI UPDATE)
1 week ago 00:12:14 1
Часть 2 Вовка из Тридевятого царства своими руками/Vovka from the Faraway Kingdom with his own hands
1 week ago 00:09:30 1
Крах Зеленой повестки в Германии.Зеленый идиотизм без солнца и ветра
1 week ago 00:03:02 1
I Have No Change - Announcement Teaser
1 week ago 00:01:54 1
I Put WOLVERINE’S MASK in DEADPOOL & WOLVERINE Fight Scene
1 week ago 00:07:29 1
Микроволновка на колесах.Тесла игнорирует безопасность пассажиров
1 week ago 00:14:06 1
lingWAVES Voice Protocol
1 week ago 00:14:19 1
The BEST Chinese Carbon Road Bike Wheels vs The BEST Western Road Bike Wheels
2 weeks ago 00:25:31 4
Одесский троллейбус - Белорусы БКМ 321 в городе. Белкоммунмаш. большое ОБНОВЛЕНИЕ транспорта.
2 weeks ago 00:04:30 1
How I Earn $950 a Day Just by Copying & Pasting Links! #CopyAndPaste #EasyMoney #PassiveIncome