r/beneater • u/ComradeFabian1 • 22h ago
8 bit processor and example program
Enable HLS to view with audio, or disable this notification
featuring 8 registers
reg0 - accumulator
1,2 - work registers
3,4 - jump address and condition
5-6 output registers
7 - memory address register
this program does not use any memory (which i have yet to implement the microcode to)
the max memory size is 256 bytes, i am using a CPU with 16 to help with performance.
It runs roughly at 2kHz.
it uses the lower 8 bits of rom as instruction, and upper 8 as immediate data.
it currently does not feature any inputs.
EDIT:
with absolutely 0 RAM, including the memory address register removed, I more then doubled the performance to around 5kHz!