Last active
October 29, 2016 08:41
-
-
Save akamah/5f222d7d0ca35513f0cf51ddc9f08c66 to your computer and use it in GitHub Desktop.
AND gate written in Plarail flavoured C.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (B == 0) { | |
X = 0; goto wrote_X; | |
} else { | |
if (A == 0) { | |
X = 0; goto wrote_X; | |
} else { | |
X = 1; goto wrote_X; | |
} | |
} | |
wrote_X: ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment