Tony Duell wrote:
How about
GOTO-less CPUs? Do any exist that completely lack a jump
instruction of any sort (I'm not counting those where PC is mapped as
a general register)?
I assume you also don't count any processor where every instruction
includes the address of the next instruction. There is no explicit jump
instruction on such a mahcine, becuase every instruction includes a jump.
That is the same as a STATE machine, we just call the states; ADDRESS n.
What about a Turing machine. I would claim that has no
jump instruciton.
And of coruse (apart from the infinite memory), it's fairly easy to build
one in hardware.
I heard you can get a C? compiler for one too!
-tony
Ben. Who wants a better 12 bit machine
than the humble 8.