0ã¨1ã®äºé²æ³ã®è«çæ¼ç®ã§åãã¦ããã®ãã³ã³ãã¥ã¼ã¿ã¼ããã¹ã¦ã®æ¼ç®ã¯ãANDã¨ORã¨NOTãããã°è¡¨ç¾ã§ãã¾ããæ¼ç®å3ã¤ãããããããã ã§ããããï¼ å®ã¯ãORãã¦NOTãããNORï¼ãã¢ï¼ããANDãã¦NOTããNANDï¼ãã³ãï¼ã¨ããæ¼ç®å1ã¤ããã°ãANDãORãNOTãã¤ãããã¨ãã§ããã®ã§ãæ¼ç®åã¯å®ã¯1ã¤ã§ååï¼ ãNorã ååã®ãããããåªå ãã¦æ°ããã°ã©ãã³ã°è¨èªãNorï¼ãã¢ï¼ãããWirthï¼ã´ã£ã«ãï¼ãããã¼ã¹ã«éçºãã¾ããã ãNor Playgroundã æ¼ç®åã¨ãã¦ä½¿ããã®ã¯è«çå(or)ãå¦å®ãã(not)ããã"nor"ã®ã¿ã0ã1ã®1bitå士ã®æ¼ç®ãªã®ã§ããã¿ã¼ã³ã¯4ã¤ããããã¾ããã ã¾ã㯠not ãä½ãã¾ãã function not(a) return a nor a end print not(0) # â 1 print not(1)
{{#tags}}- {{label}}
{{/tags}}