I’ve successfully programmed the microcode ROMs to execute a handful of instructions in my build of Ben Eater’s 8-bit CPU.
In this video, the code is:
0: lda 14
1: ldb 15
2: lda 15
3: ldb 14
4: jmp 0
Also implemented is the halt instruction. Microcode exists for add, subtract, and halt, but I have no ALU or output module built yet.
I wrote the ROM generator in Swift, and made it a bit less tedious to modify than Ben Eater’s original. You can see it here: https://gist.github.com/JetForMe/0d2fa9d6f464bdce6291a7e0b226b94e