News for hackers. Stuff that matters.
Re:Show HN: CPU simulator in 60 lines of code by hobbyist on Tuesday October 13, 2015 @01:59PM (#10382242)
There are no cmp, branch instructions. How is this turing complete?
Re:Show HN: CPU simulator in 60 lines of code by pdq on Tuesday October 13, 2015 @02:30PM (#10382464)
This is a partial ALU and Register File. It is not a CPU.
Re:Show HN: CPU simulator in 60 lines of code by Alupis on Tuesday October 13, 2015 @02:11PM (#10382320)
> There are no cmp, branch instructions. How is this turing complete?

I see no claim for it to be?

Re:Show HN: CPU simulator in 60 lines of code by Rebellos on Tuesday October 13, 2015 @02:45PM (#10382559)
CPU by common sense should be Turing complete.
Re:Show HN: CPU simulator in 60 lines of code by wyldfire on Tuesday October 13, 2015 @02:44PM (#10382550)
All you need is logical AND, logical OR, and logical NOT. I suppose they could compose them from the operations there.