Operations when the master control instruction is used
Operations between the MC and MCR instructions when the master control is off will be as follows.
• Off is assigned to the assignment statement (bit).
• The assignment statement (word) performs no processing.
• When the statement is other than assignment statement, the execution processing is not performed.
Ex.
For the assignment statement (bit)
MC(M0, N1, M1);
M3 := M2;
M20 := MCR(M0, N1);
M3 is off because off is assigned when the master control is off.
Ex.
For the assignment statement (word)
MC(M0, N1, M1);
D3 := D2;
M20 := MCR(M0, N1);
D3 retains the previous value because no processing is performed when the master control is off.
Ex.
For the statement (OUT instruction) that is other than assignment statement
MC(M0, N1, M1);
OUT(M2, M3);
M20 := MCR(M0, N1);
M3 is off because the instruction is not executed when the master control is off.
5 WRITING PROGRAMS
5.1 ST
5
85