本人不会上传梯形图只好上传助记号了
LD001
TIM000 DM001
LD002
TIM001 DM000
LD TIM000 ANDNOT1001 OUT1000
LD TIM001 ANDNOT1000 OUT1001
LD004 AND005 AND006
MOV A#0020 BDM001
LD005 DIFU 20001
LD006 DIFU 20002
LD004 AND 20001
AND NOT 006 INC DM000
LD004 AND20002 AND NOT 005
DEC DM000
LD NOT004 AND 20001
AND NOT 006
INC DM001
LD NOT 004 AND 2002
AND NOT 005
DEC DM001
END
CMP A#DEAD #DEAD
END
为什么要有两个END吗??