and2.comp

来自「CNC 的开放码,EMC2 V2.2.8版」· COMP 代码 · 共 19 行

COMP
19
字号
component and2 "Two-input AND gate";pin in bit in0;pin in bit in1;pin out bit out """\\\fBout\\fR is computed from the value of \\fBin0\\fR and \\fBin1\\fR according to the following rule:.RS.TP\\fBin0=TRUE in1=TRUE\\fB\\fBout=TRUE\\fR.TPOtherwise,\\fBout=FALSE\\fR.RE""";function _ nofp;license "GPL";;;FUNCTION(_) { out = in0 && in1; }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?