News for hackers. Stuff that matters.
Re:Show HN: Compile C to Not Gates by platz on Friday January 17, 2025 @03:48PM (#42743085)
How is a jump realized by Not Gates?
Re:Show HN: Compile C to Not Gates by tomhee on Friday January 17, 2025 @04:15PM (#42743325)
I dont think that the jump can be realized by NOT gates, but it's essentially "where to find the next NOT command". The jump is indeed a crucial part of the language, as it allows going back, and especially to make self-modifying code.
Re:Show HN: Compile C to Not Gates by Jerrrry on Friday January 17, 2025 @04:14PM (#42743319)
I'm guessing by not jumping into a terminating/ halting NOOP.

The logic is within the branching.