发布于 2006-08-18 22:32:19
0楼
多谢!中文的解释确实错了。
但是:
If the result of logic operation is 1, the jump is not executed. The RLO is set to 1 and the program scan continues with the next statement.
如果当前的逻辑结果为1,则JNB不执行,RLO=1,继续线性扫描;
Independent of the RLO, the RLO is copied into the BR when there is a JNB instruction.
只要有JNB指令,不管RLO为何状态,都保存到BR位。
--好像不像您说的“而不管RLO的状态如何,都会将RLO的状态赋值给BR位,然后将RLO置1.”
另外,如果这样的话,上例中当I0.0=1时,RLO=1的状态就被保存到BR中了,也就是说BR位已经是1了,那后面程序中的set、save 还有必要吗?
再另外,在您的回复中,我还是没搞懂为什么不用JCN。
继续请教。
我是新手,但是我在努力。