
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






Comments
Denied
Hi, I had a look at it and tested it.
Most features do function. However subtraction does not work. It kind of is adding and subtracting register A and then subtracting B as well. And the output of that is not sent to the output register at all. Is this a timing thing? This PR contains no instruction about how long I should power the instruction input (white).
As you have already mentioned, this is not Turing complete as it lacks ROM and Program Counter as well as branching logic. Your last PR also was missing the branching part. If you need help with that, just let me know :)
Please fix subtraction and add some more logic to it, such that this computer can run code.
For now, I'll deny this PR.