CONTREX CX-1200 User Manual
Page 185
![background image](/manuals/334431/185/background.png)
5 - 92
Assume the values of the Digital Input Bits DI_8, 9, 10, 11 are 1,0,0,0 respectively. The “S1” and “S0” Bits
are “0” to start. The Result Register is also “0” to start.
The stack movement proceeds as follows:
Before “LOAD 8 DI_8”:
S1: 0
S0: 0
R: 0
After “LOAD 8 DI_8” (stack is lifted)
S1: 0
S0: 0
R: 1
After “OR 9 DI_9”:
S1: 0
S0: 0
R: 1
After “LOAD 10 DI_10” (stack is lifted):
S1: 0
S0: 1
R: 0
After “OR 11 DI_11”:
S1: 0
S0: 1
R: 0
After “AND 0 S0” (stack falls):
S1: 0
S0: 0
R: 0
After “OUT 101 D0_1”:
S1: 0
S0: 0
R: 0