• Advertisement

Archived

This topic is now archived and is closed to further replies.

Minimal instruction set

This topic is 5151 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Consider a CPU whose instruction set consists of only one instruction: instr a, b, x where a, b and x are the addresses of operands. What this instruction does is: *a = *a-*b; if (*a < 0) jump *x; Do you think it is possible to buid a general-purpose CPU with only this instruction?

Share this post


Link to post
Share on other sites
Advertisement
Well, the CPU needs to fulfill all the basic requirements of a Turing machine.

Is this Turing complete? (thinking...)

Share this post


Link to post
Share on other sites
I believe their is a processor out there with only one instruction, I''ll see if I can find some info on it but nothing relative in the first few pages of google yet.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
A classic computer architecture problem.. I had this question for homework in college...

Share this post


Link to post
Share on other sites
Spooky my prof in architecture talked about this just the other day.

"Give a man a fish and he will eat for a day, drown a man in the water and the fish will eat for a week!

Share this post


Link to post
Share on other sites
I know I''ve seen a web page before claiming this is possible (with the same instruction - Subtract and Branch if Negative). However, I also call homework.

Share this post


Link to post
Share on other sites

  • Advertisement