<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bx19tri</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bx19tri"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/Bx19tri"/>
		<updated>2026-05-24T05:25:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=2497:_Logic_Gates&amp;diff=215941</id>
		<title>2497: Logic Gates</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=2497:_Logic_Gates&amp;diff=215941"/>
				<updated>2021-08-03T06:48:51Z</updated>
		
		<summary type="html">&lt;p&gt;Bx19tri: /* Explanation */ explained short forms like XOR&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 2497&lt;br /&gt;
| date      = August 2, 2021&lt;br /&gt;
| title     = Logic Gates&lt;br /&gt;
| image     = logic_gates.png&lt;br /&gt;
| titletext = In C, the multiocular O represents the bitwise norxondor gorgonax.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
{{incomplete|Created by a NORXONDOR GORGONAX. Please mention here why this explanation isn't complete. Do NOT delete this tag too soon.}}&lt;br /&gt;
&lt;br /&gt;
The comic lists logic gates. The first six are real, but the last six are made up and get increasingly absurd. The names for these last six are made up of the same letters and syllables as the first six so as to be consistent with their naming conventions.&lt;br /&gt;
&lt;br /&gt;
The only real-life logic gate that was omitted is the XNOR gate (short for “eXclusive Not OR”; it compares the inputs, and if and only if they are equal, it outputs true). Note that the &amp;quot;NORG XORT&amp;quot; gate is logically equivalent to it, since it is an XNOR gate with NOT on both inputs, a modification that has no effect on the logic behavior.&lt;br /&gt;
&lt;br /&gt;
An AND gate outputs true if and only if both inputs are true.&lt;br /&gt;
&lt;br /&gt;
An OR gate outputs true if one or the other or both of the inputs are true.&lt;br /&gt;
&lt;br /&gt;
A NOT outputs true if and only if the input is false.&lt;br /&gt;
&lt;br /&gt;
A NOR (short for “Not OR”) gate outputs true if and only if both inputs are false.&lt;br /&gt;
&lt;br /&gt;
A XOR (short for “eXclusive OR”) gate outputs true if one, or the other, but not both of the inputs are true.&lt;br /&gt;
&lt;br /&gt;
A NAND (short for “Not AND”) gate outputs true if one or the other or both of the inputs is false.&lt;br /&gt;
&lt;br /&gt;
Much like [[2360: Common Star Types]], as the list progresses, the names start to sound more like mythical creatures, closing with the &amp;quot;Norxondor gorgonax&amp;quot;.  Randall claims in the title-text that the {{w|multiocular O}} (ꙮ) character is used to represent the bitwise version of this operator (presumably ꙮꙮ represents the non-bitwise version), fitting as the multiocular O is used to refer to &amp;quot;many-eyed seraphim&amp;quot; (i.e. angels) in some religious literature.  {{w|Gorgon}}s (beige or otherwise) have heads covered with snakes instead of hair, and so possess multiple eyes.&lt;br /&gt;
&lt;br /&gt;
C is a low level programming language, and as such, it has many operations that correspond to logical (i. e. bitwise) operations.  These contrast with operations that work in a non-bitwise way.  For example, &amp;quot;&amp;amp;&amp;amp;&amp;quot; is the non-bitwise &amp;quot;AND&amp;quot; operator, while &amp;quot;&amp;amp;&amp;quot; is the bitwise &amp;quot;AND&amp;quot;.  In non-bitwise operations, 0 always represents &amp;quot;FALSE&amp;quot;, while any non-zero value means &amp;quot;TRUE&amp;quot; for inputs, and 1 is used to represent TRUE for outputs.  Thus, &amp;quot;14 &amp;amp;&amp;amp; 3&amp;quot; gives the result 1: TRUE AND TRUE -&amp;gt; TRUE.  Bitwise operations work on the corresponding bits of the inputs, in binary mode.  Using the same values, where the decimal value 14 has the binary value 1110 and the decimal value 3 has the binary value 0011, we get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;1110  = 14&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;amp;&amp;amp;nbsp;&amp;lt;u&amp;gt;0011&amp;lt;/u&amp;gt;  =  3&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;0010  =  2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
{{incomplete transcript|Do NOT delete this tag too soon.}}&lt;br /&gt;
&lt;br /&gt;
The comic shows a chart labelled 'COMMON LOGIC GATE SYMBOLS' showing twelve electronic logic gates arranged in three rows of four. Each gate is depicted as a schematic symbol, with the name of the gate shown underneath in capital script.&lt;br /&gt;
&lt;br /&gt;
Top row:&lt;br /&gt;
&lt;br /&gt;
AND GATE - (A standard gate symbol used in real life. Two inputs on the left lead to the vertical left edge of a solid D-shaped symbol. From the right side of the D there is one output.)&lt;br /&gt;
&lt;br /&gt;
OR GATE - (A standard gate symbol used in real life. Two inputs on the left lead to a convex-crescent left edge of a crescent-shaped symbol. The right side of the crescent symbol's shape forms a point at its output. From the right side of the crescent there is one output.)&lt;br /&gt;
&lt;br /&gt;
NOT GATE - (A standard gate symbol used in real life. One input leads to a triangular symbol pointing to the right. There is a small bubble symbol connected to the triangle on the output, which leads right.)&lt;br /&gt;
&lt;br /&gt;
NOR GATE - (A standard gate symbol used in real life. This is identical to the OR GATE, except the output has a bubble attached, like the NOT GATE's output.)&lt;br /&gt;
&lt;br /&gt;
Middle row:&lt;br /&gt;
&lt;br /&gt;
XOR GATE - (A standard gate symbol used in real life. This is identical to the OR GATE, except the left-hand arc at the input has a double-stroked line.)&lt;br /&gt;
&lt;br /&gt;
NAND GATE - (A standard gate symbol used in real life. This is identical to the AND GATE, except the output has a bubble attached, like the NOT GATE's output.)&lt;br /&gt;
&lt;br /&gt;
NORX GATE - (An unusual symbol. This symbol has one input on the left leading to a convex-crescent left edge, like the OR GATE. The output side as a smooth crescent like the AND GATE but has two outputs.)&lt;br /&gt;
&lt;br /&gt;
GAND ATE - (An unusual symbol. This symbol has two inputs on the left leading to a vertical left edge input, like the AND GATE. The output side has a convex-crescent double-stroked output like the mirror image of the XOR GATE's input. There are two outputs.)&lt;br /&gt;
&lt;br /&gt;
Bottom row:&lt;br /&gt;
&lt;br /&gt;
XAND GORT - (An unusual symbol. This resembles the NOT GATE except there are two inputs instead of one leading into the left side.)&lt;br /&gt;
&lt;br /&gt;
NORG XORT - (An unusual symbol. This has a double-stroked convex-crescent input like the XOR GATE, but the two inputs have bubbles attached. The single output has a smooth crescent shape with a bubble, like a NAND GATE.)&lt;br /&gt;
&lt;br /&gt;
ANDORX GANT - (An unusual symbol. Two inputs lead to a convex-crescent edge, and the two lines of this symbol now enter a double-stroked convex-crescent input like the XOR GATE. The two lines of -this- symbol have bubbles placed half way across their horizontal length, and are presumably the outputs.)&lt;br /&gt;
&lt;br /&gt;
NORXONDOR GORGONAX - (An unusual symbol. The symbol is identical to the NOR GATE, except the upper and lower horizontal parts of the symbols hull have a NOT GATE placed on them - one pointing to the left on the upper line, and to the right on the lower line. There is one output to the symbol, with a bubble attached.)&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;/div&gt;</summary>
		<author><name>Bx19tri</name></author>	</entry>

	</feed>