Register Machine

Discussion in 'The Projects Forum' started by Robin Mitchell, Jan 10, 2011.

  1. Robin Mitchell

    Thread Starter Well-Known Member

    Oct 25, 2009
    732
    199
    Hi everyone :D

    I have done this many times, tried and failed. I got a bit over my head. I have tried to make those CPU's that i designed and never get past the basic parts....
    So im desiging different kinds of register/counter machines consisting of a few registers and a simple instruction set. Its going well :D

    Instruction set:
    NOP - No operation
    INC r - increment register r
    DEC r - decrement register r
    JPZ r - jump if register r is equal to 0

    So far in all my designs there is a hidden instruction, JP. If you compare register 0 (which does not exist so there is no data on the bus) and jump if register 0 is equal to zero it always will be true, thus JP....

    I have a fully working register unit + jump control. Need to make the control and timing logic and then the first 4 bit will be done. I plan on designing several so everyone can make their own with minimal components....

    Please leave comments on what you think / and improvements!!!
     
  2. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Reminds me of the starting steps of Magic
     
  3. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,866
    988

    Yikes! What dis that thing cost to build? Can you imagine tracing down a bug in that thing?? :)
    \
     
Loading...