YouTube: https://youtube.com/watch?v=zltgXvg6r3k
Previous: #ILovePBS
Next: Movies are Magic: Crash Course Film History #1

Categories

Statistics

View count:88,213
Likes:3,324
Dislikes:27
Comments:324
Duration:10:36
Uploaded:2017-04-12
Last sync:2017-04-25 07:00
Take the 2017 PBS Digital Studios Survey: http://surveymonkey.com/r/pbsds2017. Today we’re going to take our first baby steps from hardware into software! Using that CPU we built last episode we’re going to run some instructions and walk you through how a program operates on the machine level. We'll show you how different programs can be used to perform different tasks, and how software can unlock new capabilities that aren't built into the hardware. This episode, like the last is pretty complicated, but don’t worry - as we move forward into programming the idea of opcodes, addresses, and registers at this machine level will be abstracted away like many of the concepts in this series.

Want to know more about the Intel 4004? You can read the manual here! http://bitsavers.trailing-edge.com/pdf/intel/MCS4/MCS-4_Assembly_Language_Programming_Manual_Dec73.pdf

Produced in collaboration with PBS Digital Studios: http://youtube.com/pbsdigitalstudios

The Latest from PBS Digital Studios: https://www.youtube.com/playlist?list=PL1mtdjDVOoOqJzeaJAV15Tq0tZ1vKj7ZV

We’ve got merch!
https://store.dftba.com/collections/c...


Want to know more about Carrie Anne?
https://about.me/carrieannephilbin

Want to find Crash Course elsewhere on the internet?
Facebook - http://www.facebook.com/YouTubeCrashC...
Twitter - http://www.twitter.com/TheCrashCourse
Tumblr - http://thecrashcourse.tumblr.com
Support Crash Course on Patreon: http://patreon.com/crashcourse
(PBS Digital Studios intro)

Hi, I'm Carrie Anne, and this is CrashCourse: Computer Science.  Last episode, we combined an ALU control unit to memory and a clock together to make a basic but functional central processing unit, or CPU, the beating, ticking heart of a computer.  We've done all the hard work of building many of these components from the electronic circuits up, and now it's time to get our CPU some actual instructions to process.

The thing that makes a CPU powerful is the fact that it is programmable.  If you write a different sequence of instructions, then the CPU will perform a different task, so the CPU is a piece of hardware controlled by easy to modify software.

(Intro)

Let's quickly revisit the simple program we stepped through last episode.  The computer memory looked like this.  Each address contained eight bits of data for a hypothetical CPU, the first four bits specify the operation code, or op code, and the second set of four bits specified an address or registers.  In memory address zero, we have 00101110.  Again, those first four bits are our op code, which corresponds to a (?~1:09)
Website Security Test