LD X000
AND NOT X001
AND NOT X002
AND NOT X003
...
AND NOT X009
OUT Y001
LD X000
AND X001
AND NOT X002
...
AND NOT X009
OUT Y002
...
LD X000
AND X001
...
AND X009
OUT Y010
自己琢磨琢磨。
这样也可以 ld x0 or x1 or x2 or x3 or x4 or x5 and m8000 out co k5 ld m8000 mov c0 d0 ld= d0 k1 out y1 ld= d0 k2 out y2 ld= d0 k3 out y3 ld= d0 k4 out y4 ld= d0 k5 out y5 end