Assembler for Ben Eaters Breadboard-CPU
Program-Code:
LDI 0 up: OUT ADD mem JC down JMP up down: SUB mem OUT JZ up JMP down mem: .byte 1
Assemble
Machine-Code:
Feed it to the
Virtual Machine
.
To understand this virtual machine, see the excellent YouTube Series
Building an 8-bit breadboard Computer!
by
Ben Eater