Re:Easy 6502
by codedokode on Monday May 30, 2022 @06:14PM
(#31564193)
Very interesting, never heard of this. I love Hacker News for being able to learn something new from comments. Although I cannot agree with labeling "horizontally nanocoded CPU" as "No instruction set". There are instructions, they are just low-level.
I wonder, can Turing machine count as "Zero Insturction Set"? Technically there is no sequence of instructions.
That's a fair criticism.
I think this article describes it better than I could and I get why they chose that name:
Re:Easy 6502
by rahimnathwani on Monday May 30, 2022 @02:36PM
(#31562104)
Haha these are really interesting.
It seems to program with such a reduced instruction set requires one to be either a genius or a computer (i.e. generated code). I'm neither :(
Either that, or a compiler with such an instruction set as the target.
For instance:
https://github.com/arthaud/c2bf
It seems like this is a frivolous subject, but it is actually quite enlightening to realize just how little is required to get something that computes, it changes how you view the whole concept of computation.
Someone wrote a C compiler that generates code using only x86 MOV instructs.
https://en.wikipedia.org/wiki/One-instruction_set_computer
There is even ZISC:
https://en.wikipedia.org/wiki/No_instruction_set_computing
Check out brainfuck if you are into stuff like this.