<p> OUT0DH,AL;主清除命令<br> MOVAL,85H;通道1,写传送,禁止自动预置<br> OUT0BH,AL;地址递增,块传送方式<br> MOVAL,00H;外设主存储器,正常时序,固定优先权,滞后写操作<br> OUT08H,AL;DREQ高电平有效、DACK低电平有效<br> MOVAX,2000H;地址初值,分两次写入<br> OUT02H,AL;先写低字节<br> MOVAL,AH<br> OUT02H,AL;后写高字节<br> MOVAX,1000H;字节数初值,分两次写入<br> OUT03H,AL;低字节<br> MOVAL,AH<br> OUT03H,AL;高字节<br> MOVAL,00H<br> OUT0FH,AL;清除通道屏蔽位</p>