两箱不带联动

0    LD    M1002                
1    MOV    H97    D1120            
6    SET    M1120                
7    MOV    K50    D1129            
12    SET    M1143                
13    LD=    C0    K0            
18    OUT    M0                
19    LD=    C0    K1            
24    OUT    M1                
25    LD=    C0    K2            
30    OUT    M2                
31    LD=    C0    K3            
36    OUT    M3                
37    LD=    C0    K4            
42    OUT    M4                
43    LD=    C0    K5            
48    OUT    M5                
49    LD=    C0    K6            
54    OUT    M6                
55    LD=    C0    K7            
60    OUT    M7                
61    LD=    C0    K8            
66    OUT    M8                
67    LD=    C0    K9            
72    OUT    M9                
73    LD=    C0    K10            
78    OUT    M10                
79    LD=    C0    K11            
84    OUT    M11                
85    LD=    C0    K12            
90    OUT    M12                
91    LD=    C0    K13            
96    OUT    M13                
97    LD=    C0    K14            
102    OUT    M14                
103    LD=    C0    K15            
108    OUT    M15                
109    LD=    C0    K16            
114    OUT    M16                
115    LD=    C0    K17            
120    OUT    M17                
121    LD=    C0    K18            
126    OUT    M18                
127    LD=    C0    K19            
132    OUT    M19                
133    LD=    C0    K20            
138    OUT    M20                
139    LD=    C0    K21            
144    OUT    M21                
145    LD=    C0    K22            
150    OUT    M22                
151    LD=    C0    K23            
156    OUT    M23                
157    LD=    C0    K24            
162    OUT    M24                
163    LD=    C0    K25            
168    RST    C0                
171    LDP    M0                
174    ORP    M1                
177    ORP    M2                
180    ORP    M3                
183    ORP    M4                
186    ORP    M5                
189    ORP    M6                
192    ORP    M7                
195    ORP    M8                
198    ORP    M9                
201    ORP    M10                
204    ORP    M11                
207    ORP    M12                
210    ORP    M13                
213    ORP    M14                
216    ORP    M15                
219    ORP    M16                
222    ORP    M17                
225    ORP    M18                
228    ORP    M19                
231    ORP    M20                
234    ORP    M21                
237    ORP    M22                
240    ORP    M23                
243    ORP    M24                
246    SET    M1122                
247    LD    M0                
248    MODRD    K1    H2000    K1        
255    ANDP    M1127                
258    MOV    D1050    D2000            
263    LD    M1                
264    MODRW    K1    K6    H2103    D2002    K1
275    LD    M2                
276    MODRD    K1    H2407    K1        
283    ANDP    M1127                
286    MOV    D1050    D2004            
291    LD    M3                
292    MODRW    K1    K6    H0    D2006    K1
303    LD    M4                
304    MODRW    K1    K6    H2723    D2008    K1
315    LD    M5                
316    MODRW    K1    K6    H2A06    D2010    K1
327    LD    M6                
328    MODRD    K2    H2000    K1        
335    ANDP    M1127                
338    MOV    D1050    D2100            
343    LD    M7                
344    MODRW    K2    K6    H2103    D2102    K1
355    LD    M8                
356    MODRD    K2    H2407    K1        
363    ANDP    M1127                
366    MOV    D1050    D2104            
371    LD    M9                
372    MODRW    K2    K6    H0    D2106    K1
383    LD    M10                
384    MODRW    K2    K6    H2723    D2108    K1
395    LD    M11                
396    MODRW    K2    K6    H2A06    D2110    K1
407    LD    M12                
408    MODRD    K3    H2000    K1        
415    ANDP    M1127                
418    MOV    D1050    D2200            
423    LD    M13                
424    MODRW    K3    K6    H2103    D2202    K1
435    LD    M14                
436    MODRD    K3    H2407    K1        
443    ANDP    M1127                
446    MOV    D1050    D2204            
451    LD    M15                
452    MODRW    K3    K6    H0    D2206    K1
463    LD    M16                
464    MODRW    K3    K6    H2723    D2208    K1
475    LD    M17                
476    MODRW    K3    K6    H2A06    D2210    K1
487    LD    M18                
488    MODRD    K4    H2000    K1        
495    ANDP    M1127                
498    MOV    D1050    D2300            
503    LD    M19                
504    MODRW    K4    K6    H2103    D2302    K1
515    LD    M20                
516    MODRD    K4    H2407    K1        
523    ANDP    M1127                
526    MOV    D1050    D2304            
531    LD    M21                
532    MODRW    K4    K6    H0    D2306    K1
543    LD    M22                
544    MODRW    K4    K6    H2723    D2308    K1
555    LD    M23                
556    MODRW    K4    K6    H2A06    D2310    K1
567    LD    M24                
568    MODRW    K5    K6    H2001    D2346    K1
579    LD    M1127                
580    CNT    C0    K90            
584    RST    M1127                
587    LD    M1129                
588    CNT    C0    K90            
592    RST    M1129                
595    LD    M1140                
596    CNT    C0    K90            
600    RST    M1140                
603    LD    M1141                
604    CNT    C0    K90            
608    RST    M1141                
611    LD    M1000                
612    MPS                    
613    ANDP    M400                
616    MOV    H301    D2006            
621    MRD                    
622    MOV    D2004    K2M800            
627    MRD                    
628    ANI    M400                
629    MOV    H300    D2006            
634    MPP                    
635    ANDF    M807                
638    RST    M400                
641    LD    M1000                
642    MPS                    
643    ANDP    M401                
646    MOV    H301    D2106            
651    MRD                    
652    MOV    D2104    K2M810            
657    MRD                    
658    ANI    M401                
659    MOV    H300    D2106            
664    MPP                    
665    ANDF    M817                
668    RST    M401                
671    LD    M1000                
672    MPS                    
673    ANDP    M402                
676    MOV    H301    D2206            
681    MRD                    
682    MOV    D2204    K2M820            
687    MRD                    
688    ANI    M402                
689    MOV    H300    D2206            
694    MPP                    
695    ANDF    M827                
698    RST    M402                
701    LD    M1000                
702    MPS                    
703    ANDP    M403                
706    MOV    H301    D2306            
711    MRD                    
712    MOV    D2304    K2M830            
717    MRD                    
718    ANI    M403                
719    MOV    H300    D2306            
724    MPP                    
725    ANDF    M837                
728    RST    M403                
731    LD    M200                
732    OR    M202                
733    ANI    M201                
734    ANI    M388                
735    ANI    X5                
736    ANI    M393                
737    ANI    M397                
738    OUT    M202                
739    LD    M201                
740    TMR    T62    K1            
744    LD    T62                
745    RST    M201                
748    LD    M200                
749    TMR    T63    K1            
753    LD    T63                
754    RST    M200                
757    LDP    M200                
760    SET    M390                
761    LDP    M201                
764    RST    M390                
767    LDF    M393                
770    AND    M390                
771    SET    M180                
772    LD    M180                
773    OUT    M200                
774    TMR    T22    K1            
778    LD    T22                
779    RST    M180                
782    LD    M202                
783    OUT    M299                
784    OUT    Y43                
785    LDI    X20                
786    ORI    X30                
787    OUT    M388                
788    LD    Y25                
789    OR    Y31                
790    OR    Y35                
791    OR    Y41                
792    OUT    M395                
793    LD    X24                
794    OR    X26                
795    OR    X34                
796    OR    X36                
797    OUT    M397                
798    LD    M888                
799    MPS                    
800    AND    M600                
801    RST    Y1                
804    SET    Y0                
805    MPP                    
806    ANI    M600                
807    RST    Y0                
810    SET    Y1                
811    LDI    M888                
812    ZRST    Y0    Y1            
817    LD    M1000                
818    ANI    M202                
819    ANI    Y22                
820    OUT    Y20                
821    LDI    M393                
822    AND    M202                
823    OUT    Y21                
824    LD    X21                
825    OR    X22                
826    OR    X31                
827    OR    X32                
828    OR    X5                
829    OR    M161                
830    OUT    M393                
831    OUT    Y22                
832    LD    M299                
833    MPS                    
834    AND    M520                
835    ANI    M393                
836    ANI    X23                
837    ANI    X24                
838    SET    Y23                
839    MPS                    
840    AND    Y23                
841    TMR    T0    K1            
845    MPP                    
846    AND    T0                
847    SET    Y24                
848    MPP                    
849    ANI    M520                
850    ZRST    Y23    Y24            
855    LDI    M299                
856    ORI    M520                
857    ZRST    Y23    Y24            
862    LD    X23                
863    TMR    T30    K20            
867    LD    M520                
868    MPS                    
869    AND    T30                
870    RST    Y24                
873    RST    M520                
876    MPP                    
877    ANI    Y25                
878    AND    M299                
879    OUT    Y26                
880    LD    M299                
881    MPS                    
882    AND    M521                
883    ANI    M393                
884    ANI    X25                
885    ANI    X26                
886    SET    Y27                
887    MPS                    
888    AND    Y27                
889    TMR    T1    K1            
893    MPP                    
894    AND    T1                
895    SET    Y30                
896    MPP                    
897    ANI    M521                
898    ZRST    Y27    Y30            
903    LDI    M299                
904    ORI    M521                
905    ZRST    Y27    Y30            
910    LD    X25                
911    TMR    T31    K20            
915    LD    M521                
916    MPS                    
917    AND    T31                
918    RST    Y30                
921    RST    M521                
924    MPP                    
925    ANI    Y31                
926    AND    M299                
927    OUT    Y32                
928    LD    M299                
929    MPS                    
930    AND    M522                
931    ANI    M393                
932    ANI    X33                
933    ANI    X34                
934    SET    Y33                
935    MPS                    
936    AND    Y33                
937    TMR    T2    K1            
941    MPP                    
942    AND    T2                
943    SET    Y34                
944    MPP                    
945    ANI    M522                
946    ZRST    Y33    Y34            
951    LDI    M299                
952    ORI    M522                
953    ZRST    Y33    Y34            
958    LD    X33                
959    TMR    T32    K20            
963    LD    M522                
964    MPS                    
965    AND    T32                
966    RST    Y34                
969    RST    M522                
972    MPP                    
973    ANI    Y35                
974    AND    M299                
975    OUT    Y36                
976    LD    M299                
977    MPS                    
978    AND    M523                
979    ANI    M393                
980    ANI    X35                
981    ANI    X36                
982    SET    Y37                
983    MPS                    
984    AND    Y37                
985    TMR    T3    K1            
989    MPP                    
990    AND    T3                
991    SET    Y40                
992    MPP                    
993    ANI    M523                
994    ZRST    Y37    Y40            
999    LDI    M299                
1000    ORI    M523                
1001    ZRST    Y37    Y40            
1006    LD    X35                
1007    TMR    T33    K20            
1011    LD    M523                
1012    MPS                    
1013    AND    T33                
1014    RST    Y40                
1017    RST    M523                
1020    MPP                    
1021    ANI    Y41                
1022    AND    M299                
1023    OUT    Y42                
1024    LD    M202                
1025    ANI    X4                
1026    OUT    M888                
1027    LDP    X4                
1030    AND    M202                
1031    SET    M160                
1032    LD    M160                
1033    AND    X4                
1034    TMR    T16    K2100            
1038    LD    T16                
1039    SET    M161                
1040    RST    M160                
1043    LDI    X4                
1044    ZRST    M160    M161            
1049    LD    M388                
1050    OR    M393                
1051    OR    M395                
1052    OR    M397                
1053    OUT    Y2                
1054    LD    M202                
1055    MPS                    
1056    ANDP    X6                
1059    DINC    D3300                
1064    MPP                    
1065    ANDP    X3                
1068    DINC    D3303                
1073    LD    M1000                
1074    DFLT    D3300    D4010            
1083    DMULR    D4010    F0.500    D4020        
1096    DFLT    D3303    D4013            
1105    DMULR    D4013    F0.500    D4023        
1118    TMR    T75    K40            
1122    LD    T75                
1123    AND<>    D1316    D3105            
1128    OUT    M4010                
1131    LDP    M4010                
1134    DMOV    K0    D3300            
1143    DMOV    K0    D3303            
1152    ZRST    D3350    D3356            
1157    ZRST    D3370    D3392            
1162    ZRST    D4000    D4025            
1167    MOV    D1316    D3105            
1172    LD    M1000                
1173    FLT    D3090    D3092            
1178    DMULR    D3092    F95.000    D3096        
1191    INT    D3096    D2346            
1196    LD    M202                
1197    MPS                    
1198    ANDP    M1013                
1201    CNT    C18    K3600            
1205    MPP                    
1206    ANDP    X6                
1209    INC    D3350                
1212    LD    M1000                
1213    FLT    D3350    D3352            
1218    MPS                    
1219    AND<=    D3360    K1            
1224    MOV    K1    D3360            
1229    MPP                    
1230    FLT    D3360    D3362            
1235    DMULR    D3352    F0.500    D3354        
1248    LDP    C18                
1251    DDIVR    D3354    D3362    D3370        
1264    ZRST    D3350    D3356            
1269    RST    C18                
1272    LD    M202                
1273    MPS                    
1274    ANI    X6                
1275    TMR    T50    K1200            
1279    MRD                    
1280    ANDP    X6                
1283    SET    M222                
1284    MRD                    
1285    AND    T50                
1286    RST    M222                
1289    MPP                    
1290    AND    M222                
1291    AND    M1013                
1292    DINCP    D3375                
1297    LD    M1013                
1298    DINCP    D3377                
1303    LD    M1000                
1304    DFLT    D3375    D3379            
1313    DFLT    D3377    D3381            
1322    DLD>=    D3377    K1            
1331    DDIVR    D3379    D3381    D3383        
1344    DMULR    D3383    F100.000    D3390        
1357    LD    M161                
1358    OUT    M281                
1359    LD    X5                
1360    OUT    M282                
1361    LD    X7                
1362    OUT    M256                
1363    LDI    X20                
1364    OUT    M257                
1365    LD    X21                
1366    OUT    M258                
1367    LD    X22                
1368    OUT    M259                
1369    LDI    X30                
1370    OUT    M265                
1371    LD    X31                
1372    OUT    M266                
1373    LD    X32                
1374    OUT    M267                
1375    LD    M1000                
1376    MOV    K1X24    K1M261            
1381    MOV    K1X34    K1M269            
1386    MOV    K1X44    K1M277            
1391    LD    T30                
1392    SET    M260                
1393    SET    Y25                
1394    LDP    M520                
1397    RST    M260                
1400    RST    Y25                
1403    LD    T31                
1404    SET    M262                
1405    SET    Y31                
1406    LDP    M521                
1409    RST    M262                
1412    RST    Y31                
1415    LD    T32                
1416    SET    M268                
1417    SET    Y35                
1418    LDP    M522                
1421    RST    M268                
1424    RST    Y35                
1427    LD    T33                
1428    SET    M270                
1429    SET    Y41                
1430    LDP    M523                
1433    RST    M270                
1436    RST    Y41                
1439    LD    M1000                
1440    MOV    D210    K2M130            
1445    LD    M110                
1446    MOV    K1    D200            
1451    LD    M111                
1452    MOV    K9    D200            
1457    LD    M112                
1458    MOV    K3    D200            
1463    LD    M113                
1464    MOV    K2    D200            
1469    LD    M114                
1470    MOV    K6    D200            
1475    LD    M115                
1476    MOV    K5    D200            
1481    LD    M116                
1482    MOV    K4    D200            
1487    LD    M117                
1488    MOV    K7    D200            
1493    LD    M118                
1494    MOV    K8    D201            
1499    LD=    D230    K1            
1504    MOV    K1    D210            
1509    LD=    D230    K2            
1514    MOV    K8    D210            
1519    LD=    D230    K3            
1524    MOV    K4    D210            
1529    LD=    D230    K4            
1534    MOV    K64    D210            
1539    LD=    D230    K5            
1544    MOV    K32    D210            
1549    LD=    D230    K6            
1554    MOV    K16    D210            
1559    LD=    D230    K7            
1564    MOV    K128    D210            
1569    LD=    D230    K8            
1574    MOV    K0    D210            
1579    LD=    D230    K9            
1584    MOV    K2    D210            
1589    LD    M202                
1590    MOV    K1M530    K1Y44            
1595    MOV    K1M534    K1Y50            
1600    LDI    M202                
1601    ZRST    Y44    Y53            
1606    LD    M1000                
1607    MOV    D2100    D2001            
1612    MOV    D2300    D2201            
1617    MOV    D2500    D2401            
1622    LD    M1000                
1623    TMR    T44    K600            
1627    LD    T44                
1628    OUT    Y3                
1629    END                    

11

上一篇:你真的会Xilinx FPGA的复位吗?


下一篇:Reverse Words in a String