~/talk

Learn How Computers Work Between Silicon and Assembly: Build a CPU with Python

Talkat PyOhio 2019 · 2019-07-27..07-28· [python]
links:none on file
slides:none on file

A hands‑on project builds a configurable CPU implemented in Python that runs a custom assembler, exposes registers and an ALU, and hooks memory and IO to callbacks and widgets; it uses 8-bit words, 256 memory addresses and a Von Neumann bus, implements microprogramming for per‑opcode step sequences, and even adds DMA with numpy based buffer. The system reaches Turing completeness with a branch‑not‑zero and running programs show register transfers, program counter jumps, and interactive I/O.

AI-written summary · about

  1. 0:00Start
  2. 3:15The Ben Eater SAP-1
  3. 10:26Machine Code Execution
  4. 14:48SAPy Buses & Registers
  5. 16:31Program Counter
  6. 17:39Accumulator (Register A)
  7. 17:58Arithmetic Logic Unit
  8. 20:48Output (Register 0)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.