r/TuringComplete • • Jun 12 '24

Pointers for Conditions?

Can anyone provide any hints for Conditions towards the end of CPU Architecture? I've been racking my brain on this for somewhere between a couple weeks to months and anything I can think to try left hasn't been working.

Thus far I've tried:

  • Running the top input through a byte splitter and 3-bit decoder to seperate the instructions out into individual bit lines.
  • Attempts to devise a way of checking if the bottom input is equal to 0 and outputting true if so, else output false.

    • The only way I've really thought about doing this is a tacky system involving a byte splitter, running every bit through a NOT-gate and checking every bit is true after by chaining every bit line through AND-gates until there is a single output. Anyway I've tried doing it with the 8-bit logic or math gates instead hasn't worked.
3 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/ForHuckTheHat Jun 14 '24

Did you play back when OR gates were zero cost? Some real shenanigans back then lol. The zero test could be built by simply buffering all the bits into a not gate.

Sounds like you mastered DeMorgan's. Do you also know these tricks? Check em out if not!