Simple CPU
simplecpu.com
Simple CPU
1–10 of 65 posts
Re: Simple CPU
#2I started it at the request of some HN users, and I hope it continues to hopefully enlighten some software folks who wonder how the CPU they rely on actually works.
Re: Simple CPU
#3Knowing most if not all of this already I cannot say how well it teaches, but it does describe what I spent much longer on learning.
Re: Simple CPU
#4Re: Simple CPU
#5http://www.youtube.com/watch?v=EKWGGDXe5MA
Edit: At the start the original title is visible it's "Richard Feynman: The Computers From the Inside Out" and the lecture is from 1985.
The major quote:
"Computers are not primarily computing machines, they are actually filing systems."
Re: Simple CPU
#6Also - it would be very neat to have a "reset" on the Instruction Pointer, so that you don't have to refresh the current page if you want to start your program over...
Re: Simple CPU
#7Here Feynman explains the basic logic behind building of all of the computers. He is inspiring even if you know more details about the topics he talks about, because he stimulates you to a fresh view. The youtube title is, IMHO, misleading. The lecture is about the basic hardware concepts and not about heuristics, so I think it fits perfectly with the OP. http://www.youtube.com/watch?v=EKWGGDXe5MA Edit: At the start…
Re: Simple CPU
#8Re: Simple CPU
#9Two suggestions to the author: first, identify yourself on the site! Second, interpret "0" as "STOP" or "RESET" to prevent the simulation from running to infinity. Alternatively, adjust the UI to indicate that the PC is off-screen.
Re: Simple CPU
#10"You can scroll through memory as well" --> Would be nice to have a scroll-bar because I missed this at first and wondered why there were only 6 bytes of memory. (Would also be nice to see a bit more of the memory at once, although then the instructions might be easy to miss. Maybe a "show more memory" check-box?)
Would also definitely be nice to reset / modify the instruction pointer.
And of course the ability to save/load the CPU state (eg. simple copy/paste to the clipboard.)
Next steps would be to teach about basic I/O, since that's a fundamental part of any computer. (Start with some simulated LEDs/toggle switches that map directly to a special address space?)