论文部分内容阅读
在将两种逻辑相反的操作指令与两种应有的逻辑相反状态进行比较时,可采用“异或”逻辑判断符合与否。如令一种操作指令为A,则其相反的操作指令就为(?),令应有的状态为B,则其逻辑相反的状态就为(?)。当操作指令与应有的状态不符合,即A≠B(这时A=(?))时,则A(?)B=A(?)+(?)B=“1”,出现逻辑“1”说明给出的操作指令与应有的状态不符合,即操作指令错了。但当存在三种操作指令时,即其中两种是逻辑相反的操作指令,其余一种是与前两种在逻辑上无关的
In the two opposite logic instructions and two logical opposite state to be compared, you can use the exclusive OR logic to determine compliance or not. If an operation instruction is given as A, its opposite operation instruction is (?), And its due state is B, its logic opposite state is (?). When the operation command does not conform to the expected state, that is, A ≠ B (A = (?)), Then A (?) B = A 1 "indicates that the operation instruction given does not match the expected state, that is, the operation instruction is wrong. However, when there are three kinds of operation instructions, that is, two of them are logically opposite operation instructions, and the other one is logically unrelated to the first two