this is a small microprocessor I made, mostly for entertainment, but also to teach myself how computers actually work inside. Everything is pretty much made from scrap and I didn't use any tutorials, so it will very likely not follow any common standarts.
Any instructios must have following arguments: -modifiers (use A and B as values rather than addresses, use carry-bit, instruction returns a value) (4 bit) -instruction (4 bit) -A (value or pointer) (8 bit) -B (value or pointer) (8 bit) -C (pointer) (8 bit)
so every intruction has to look like this: add 2 $5 3 --> add 5 to the value in 2 and store it in 3
Everytime an instruction is processed, it is processed in the following steps: -load value at location A into Buffer -repeat with B -if the instruction returns a value: -process values at A & B -store them at C -if the instruction does not return a value: -determine if conditions are met and set in
(sorry, hackaday projects lowered their maximum description length and a big part of it got cut away)