
In my hex cpu (not turing complete and no program memory) there's:
ALU operations: ADD, SUB
REGISTERS 1,2 with option: clear registers, set reg 1 set reg 2
OUTPUT REGISTER to save the output or clear output
DATA BUS
DISPLAY (not 7 segments) it's a unique display for see the signal strenght 1 to 15
You must use it following these rules exactly:
programs by signal strength (white part):
1) set reg 2
2) set reg 1
3) clear reg 1,2
4) ADD
5) SUB
6) clear output register
Signal strength for registers (gray part):
0 to 15
Example: if u set reg 2 u must do signal 1 in the white part and a number 0 to 15 in the gray part
Example2: if u add or sub, u must do in white part use 4 or 5 signal strength (it depends if u use ADD or SUB) and in the gray part, don't put signals in the gray part.
this is how to use.
by Mattone_888





