<?xml version="1.0" encoding="GBK" ?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dcterms="http://purl.org/dc/terms/">
 <channel>
  	  <title><![CDATA[92xinxi的博客]]></title>
	  <link>http://92xinxi.blog.163.com</link>
	  <description><![CDATA[啊,做工程师不如做业务员 ]]></description>
	  <language>zh-CN</language>
	  <pubDate>Thu, 3 Jul 2008 21:26:41 +0800</pubDate>
	  <lastBuildDate>Thu, 3 Jul 2008 21:26:41 +0800</lastBuildDate>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <generator><![CDATA[NetEase Space]]></generator>
	  <managingEditor><![CDATA[92xinxi]]></managingEditor>
	  <webMaster><![CDATA[92xinxi]]></webMaster>
		  <ttl>120</ttl>
	  <image>
	  	<title><![CDATA[92xinxi的博客]]></title>
	  	<url>http://92xinxi.blog.163.com/style/common/user_default.gif</url>
	  	<link>http://92xinxi.blog.163.com</link>
	  </image>
  <item>
  	<title><![CDATA[串行数码灯演示程序]]></title>	
    <link>http://92xinxi.blog.163.com/blog/static/7294180920083204353984</link>
    <description><![CDATA[<div><P>;本程序用于新数码灯灯控制,<BR>;黑色----移位<BR>;绿色----锁存<BR>;黄色----数据<BR>;红色----驶能</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>&nbsp;ORG&nbsp; 0000h<BR>&nbsp;EN&nbsp;&nbsp; EQU P1.0&nbsp;&nbsp; ;&nbsp; R<BR>&nbsp;DG&nbsp;&nbsp; EQU P1.1&nbsp;&nbsp; ;&nbsp; Y&nbsp; DIN<BR>&nbsp;RC&nbsp;&nbsp; EQU P1.2&nbsp;&nbsp; ;&nbsp; G&nbsp; LIN<BR>&nbsp;SC&nbsp;&nbsp; EQU P1.3&nbsp;&nbsp; ;&nbsp; BL CLK<BR>;//////////////<BR>&nbsp;AJMP&nbsp; MAIN<BR>;ORG&nbsp;&nbsp; 0003H&nbsp; ;/外部中断/INT0入口地址<BR>;ORG&nbsp;&nbsp; 000Bh&nbsp; ;/定时器中断T0入口地址<BR>;ORG&nbsp;&nbsp; 0013H&nbsp; ;/外部中断/INT1入口地址<BR>;ORG&nbsp;&nbsp; 001BH&nbsp; ;/定时器中断T1入口地址<BR>;ORG&nbsp;&nbsp; 0023H&nbsp; ;/串行口中断地址<BR>;DATA TABLE //////////////////////////////////////////////////////////
</P><P>;SUBPROGRAM///////////////////////////////////////////////////////////<BR>SCK:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; SC<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; SC<BR>&nbsp;&nbsp; RET<BR>RCK:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;锁存<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RC;<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; RC;<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp; JB&nbsp;&nbsp;&nbsp;&nbsp; ACC.0,HSPEED&nbsp;&nbsp; ;DALAY1<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; RET<BR>HSPEED:&nbsp;&nbsp; ; 快速<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; PSW,#00H<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY1<BR>&nbsp;&nbsp; RET&nbsp;&nbsp; ;锁存返回<BR>;THE COLOR CHOOSE////////////////////////////////////////////////////////<BR>COLOR:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A, R5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;R5的数值决定颜色效果, 跳转R2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BR>COLOR7:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;RGB<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp;&nbsp; A,R0;<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp;&nbsp; R0,A;<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; DG;<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp;&nbsp; R0,COLOR7<BR>&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;/////////////////////////////////<BR>BLACK:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;R5的数值决定颜色效果<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; DPTR,#TAB1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JMP&nbsp;&nbsp; @A+DPTR<BR>TAB1:&nbsp;&nbsp; LJMP COLOR8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;0H<BR>COLOR8:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DG;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp;&nbsp; SCK;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RET<BR>;/////////////////////////////////////////////////<BR>DELAY:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; PSW,#018H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; 应用第2组寄存器<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,#060H;<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A;<BR>LOOP:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,A;<BR>LOOP1:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,A<BR>LOOP2:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R1,LOOP2;&nbsp;&nbsp; /*减一不为零循环*/<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R0,LOOP1<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,LOOP;<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; PSW,#000H<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET ;<BR>DELAY1:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; PSW,#018H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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一不为零循环*/<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R0,LOOP1A2;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,LOOPA2<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; PSW,#000H<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;SENCE//////////////////////////////////////////////////////<BR>scene_1:&nbsp;&nbsp; ;整体七色变化<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; ;/////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0 ,#160D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;每一次只传送R0个TRUE位数据。<BR>&nbsp;&nbsp; CALL&nbsp; COLOR7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;COLOR<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1 ,#00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;HIGHT SPEED<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; RET<BR>SCENE_2:&nbsp; ;R/黑/G/黑/B/黑。。。。。白/黑<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>;&nbsp;&nbsp; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>;&nbsp;&nbsp; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>;&nbsp;&nbsp; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR4<BR>&nbsp;;&nbsp; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR5<BR>;&nbsp;&nbsp; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR6<BR>&nbsp; ; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR7<BR>&nbsp; ; CALL&nbsp; BLACK<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;//////////////////////////////////////<BR>SCENE_3:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>;//////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>;//////////////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D&nbsp;&nbsp;&nbsp;&nbsp; ;SEND 数据的位数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK <BR>&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>SCENE_4:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#4D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#6D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#8D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;////////////////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#4D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#6D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR2<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#8D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;////////////////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#3D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#4D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#6D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#1D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR1<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>;/////////////////////////////&nbsp;&nbsp; <BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#8D<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#01H<BR>&nbsp;&nbsp; CALL&nbsp; COLOR3<BR>&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;////////////////////////////////////////////////////////////<BR>MAIN:<BR>;///////////////////////////////|七色|///////////////////////<BR>A1:<BR>&nbsp; MOV&nbsp;&nbsp;&nbsp; R3,#02H<BR>A1_1:<BR>&nbsp; CALL&nbsp;&nbsp; SCENE_4<BR>&nbsp; DJNZ&nbsp;&nbsp; R3,A1_1<BR>A2:<BR>&nbsp; MOV&nbsp;&nbsp;&nbsp; R3,#0FH<BR>A2_1:<BR>&nbsp; CALL&nbsp;&nbsp; SCENE_2<BR>&nbsp; DJNZ&nbsp;&nbsp; R3,A2_1<BR>A4:<BR>&nbsp; CALL&nbsp;&nbsp; SCENE_1<BR>&nbsp; CALL&nbsp;&nbsp; SCENE_3<BR>;/////////////////////////////////////////////////////////////<BR>&nbsp;&nbsp; AJMP&nbsp;&nbsp; MAIN<BR>END<BR>
</P><P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A></P></div>]]></description>
	    <author><![CDATA[92xinxi]]></author>
	    <comments>http://92xinxi.blog.163.com/blog/static/7294180920083204353984</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://92xinxi.blog.163.com/blog/static/7294180920083204353984</guid>
    <pubDate>Wed, 2 Apr 2008 00:43:53 +0800</pubDate>
    <dcterms:modified>2008-04-02T00:43:53+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[免费电影网: 优动免费电影]]></title>	
    <link>http://92xinxi.blog.163.com/blog/static/7294180920083203848203</link>
    <description><![CDATA[<div><P>工作累了,轻松一下,看看电影吧: </P>
<P>&nbsp;优动免费电影 &nbsp;<A href="http://www.60film.cn/">http://www.60film.cn</A>&nbsp;&nbsp; </P>
<P>&nbsp;</P>
<P>或者听听音乐:&nbsp;优动音乐厅&nbsp;&nbsp;<A href="http://www.longtoo.com/music/">http://www.longtoo.com/music/</A>&nbsp;&nbsp;</P>
<P>&nbsp;</P>
<P>祝你愉悦每一天！</P></div>]]></description>
	    <author><![CDATA[92xinxi]]></author>
	    <comments>http://92xinxi.blog.163.com/blog/static/7294180920083203848203</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://92xinxi.blog.163.com/blog/static/7294180920083203848203</guid>
    <pubDate>Wed, 2 Apr 2008 00:38:48 +0800</pubDate>
    <dcterms:modified>2008-04-02T00:39:11+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[89c2051数码灯带演示程序]]></title>	
    <link>http://92xinxi.blog.163.com/blog/static/729418092008320251941</link>
    <description><![CDATA[<div><P>;89c2051数码灯带演示</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com">http://www.longtoo.com</A></P>
<P style="TEXT-INDENT: 2em">ORG&nbsp; 00H<BR>&nbsp;&nbsp;&nbsp; SD&nbsp; EQU&nbsp; P1.7;&nbsp; 数据<BR>&nbsp;&nbsp;&nbsp; OE&nbsp; EQU&nbsp; P1.6;&nbsp; 锁存&nbsp;&nbsp;&nbsp;&nbsp; 上升沿有效<BR>&nbsp;&nbsp;&nbsp; RC&nbsp; EQU&nbsp; P1.5;&nbsp; 使能&nbsp;&nbsp;&nbsp;&nbsp; 低电平有效<BR>&nbsp;&nbsp;&nbsp; CK&nbsp; EQU&nbsp; P1.4;&nbsp; 移位&nbsp;&nbsp;&nbsp;&nbsp; 上升沿有效<BR>AJMP&nbsp; MAIN<BR>DELAYA:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; PSW,#18H<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#09H<BR>LOOP:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MO</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A>V&nbsp;&nbsp; R1,#2FH<BR>LOOP1:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,#2FH<BR>LOOP2:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,LOOP2;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R1,LOOP1;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R0,LOOP;<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; PSW,#00H<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET<BR>DELAY:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; PSW,#18H<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R0,#1AH<BR>LOOP3:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R0,LOOP3<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; PSW,#00H<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET<BR>;////////////////////////////<BR>RCK:<BR>&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp; RC<BR>&nbsp;&nbsp;&nbsp; SETB&nbsp; RC<BR>&nbsp;&nbsp;&nbsp; RET<BR>SCK:<BR>&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp; CK<BR>&nbsp;&nbsp;&nbsp; SETB&nbsp; CK<BR>&nbsp;&nbsp;&nbsp; RET<BR>;////////////////////////////
</P><P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>COLOR_B:&nbsp;&nbsp; ;////L2=0////<BR>&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; SD<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCK<BR>&nbsp;&nbsp;&nbsp; SETB&nbsp;&nbsp; SD<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCK<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCK<BR>&nbsp;&nbsp;&nbsp; RET<BR>COLOR_G:&nbsp;&nbsp; ;////L1=0////<BR>&nbsp;&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; SD<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCK<BR>&nbsp;&nbsp;&nb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ALL&nbsp;&nbsp; SCK<BR>&nbsp;&nbsp;&nbsp; RET<BR>;//////////////////<BR>effect1: ;color_r up;红色渐亮蓝色渐暗,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 绿色渐亮渐暗，白色渐亮渐暗，<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;fade stay_time<BR>;////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>DIMMER1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R4<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R5,A<BR>DIMMER1_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>UP_R:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_R<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,UP_R<BR>UP_BLK:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_B<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R3,UP_BLK<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R5,DIMMER1_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;Control the color fade stay_time<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp;&nbsp; R0<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R1,DIMMER1<BR>&nbsp;&nbsp;&nbsp; ;RET<BR>;///////////////////////////////////////////////<BR>;EFFECT2:&nbsp; ;COLOR_G&nbsp; UP&nbsp; RED&nbsp; DOWN<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;fade stay_time<BR>;////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>DIMMER_G:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R4<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R5,A<BR>DIMMER_G_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>UP_G:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_G<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,UP_G<BR>UP_BLK2:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_R<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R3,UP_BLK2<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R5,DIMMER_G_1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;Control the color fade stay_time<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp;&nbsp; R0<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R1,DIMMER_G<BR>;////////////////////////////COLOR_R DOWN<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;fade stay_time<BR>;////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>DIMMER_G2:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R4<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R5,A<BR>DIMMER_G_2:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>DOWN_BLK2:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_B<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,DOWN_BLK2<BR>DOWN_G:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; COLOR_G<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R3,DOWN_G<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R5,DIMMER_G_2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;Control the color fade stay_time<BR>;///////////////////////////<BR>&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp;&nbsp; R0<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R1,DIMMER_G2<BR>&nbsp;&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;;////////////////////////////////////////////;;;<BR>SCANA:<BR>;32 dot as a group<BR>SCAN_RE1:;Background color is green,red changing<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R1,#01D<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R2,#31D<BR>;;;;;;;;;;;;;;;;;<BR>SCAN_RE1_0:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R0,#50D<BR>SCAN_RE1_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R3,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R2<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R4,A<BR>SCAN1:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BG<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R4,SCAN1<BR>SCAN1_0:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_R<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;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2,#31D<BR>;;;;;;;;;;;;;;;;;<BR>SCAN_RE3_0:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R0,#50D<BR>SCAN_RE3_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R3,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R2<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R4,A<BR>SCAN3:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_G<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R4,SCAN3<BR>SCAN3_0:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_B<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R3,SCAN3_0<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R0,SCAN_RE3_1<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp; R1<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,SCAN_RE3_0<BR>;////////////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com">http://www.longtoo.com</A></P>
<P style="TEXT-INDENT: 2em"><BR>SCAN_RE4:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R1,#01D<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R2,#31D<BR>;;;;;;;;;;;;;;;;;<BR>SCAN_RE4_0:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R0,#50D<BR>SCAN_RE4_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R3,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R2<BR>&nbsp;&nbsp;&nbsp; MOV&n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sp; R2,SCAN_RE5_0</P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;///////////////////////////<BR>SCAN_RE6:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R1,#01D<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R2,#31D<BR>;;;;;;;;;;;;;;;;;<BR>SCAN_RE6_0:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R0,#50D<BR>SCAN_RE6_1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R3,A<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R2<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R4,A<BR>SCAN6:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_RB<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R4,SCAN6<BR>SCAN6_0:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BG<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R3,SCAN6_0<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R0,SCAN_RE6_1<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp; INC&nbsp;&nbsp; R1<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,SCAN_RE6_0<BR>&nbsp;&nbsp;&nbsp; RET<BR>&nbsp;&nbsp;&nbsp; ;//////////////////////////<BR>SCANB:<BR>;38 dot as a group<BR>SCAN_B0:;<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R1,#05D<BR>;;;;;;;;;;;;;;;;;<BR>SCAN_B0_0:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R0,#50D<BR>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p; CALL&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAYA<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,SCAN_B0_9<BR>SCAN_B0_10:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R2,A<BR>SCAN_B0_11:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_B<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAYA<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,SCAN_B0_11<BR>SCAN_B0_12:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; A,R1<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp; R2,A<BR>SCAN_B0_13:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_RB<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAYA<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R2,SCAN_B0_13<BR>&nbsp;&nbsp;&nbsp; ;////////////////////<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R0,SCAN_B0_1<BR>&nbsp;&nbsp;&nbsp; RET<BR>;//////////////////////////////////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;/////////////////////////////////////////////////<BR>C3840R:<BR>&nbsp;MOV&nbsp;&nbsp; R6,#0FFH<BR>COLOR_R_1:<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_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BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp; COLOR_BLK<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp; R6,COLOR_BLK_1<BR>&nbsp;&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; RCK<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET</P>
<P style="TEXT-INDENT: 2em">&nbsp;</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>;////////////////////////////<BR>MAIN:<BR>&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; OE<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; BUTTON1&nbsp;&nbsp;&nbsp; ;渐变<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; BUTTON2<BR>&nbsp;&nbsp;&nbsp; AJMP&nbsp;&nbsp; MAIN<BR>;///////////////////////////////<BR>BUTTON1:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R6,#0aH&nbsp;&nbsp;&nbsp;&nbsp; ;渐变循环的次数<BR>NUNBER1:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; EFFECT1<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R6,NUNBER1<BR>&nbsp;&nbsp;&nbsp; RET<BR>;///////////////////////////////////<BR>BUTTON2:<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R6,#2H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;扫描的次数<BR>NUNBER3:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCANB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;50循环，5粒颜色走动。<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R6,NUNBER3<BR>;////////////////////////<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R5,#2D<BR>NUNBER4:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp; SCANA<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R5,NUNBER4<BR>&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R7,#4H<BR>NUNBER5:<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; C3840R<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&n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; C3840B<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; DELAYA<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; C3840BLK<BR>&nbsp;&nbsp;&nbsp; CALL&nbsp;&nbsp;&nbsp; DELAYA<BR>&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp;&nbsp; R7,NUNBER6<BR>&nbsp;&nbsp;&nbsp; RET<BR>;/////////////////////////////////<BR>&nbsp;&nbsp;&nbsp; END</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR></P></div>]]></description>
	    <author><![CDATA[92xinxi]]></author>
	    <comments>http://92xinxi.blog.163.com/blog/static/729418092008320251941</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://92xinxi.blog.163.com/blog/static/729418092008320251941</guid>
    <pubDate>Wed, 2 Apr 2008 00:25:01 +0800</pubDate>
    <dcterms:modified>2008-04-02T00:28:50+08:00</dcterms:modified>
  </item>    
  <item>
  	<title><![CDATA[89c2051七色水底灯控制器汇编程序]]></title>	
    <link>http://92xinxi.blog.163.com/blog/static/7294180920083201356519</link>
    <description><![CDATA[<div><P>;原创程序,转载请注明出处</P>
<P>;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A></P>
<P>ORG&nbsp; 00H<BR>AJMP&nbsp; MAIN<BR>&nbsp;&nbsp;&nbsp; RR1 EQU&nbsp; P1.7;<BR>&nbsp;&nbsp;&nbsp; GG1 EQU&nbsp; P1.6;<BR>&nbsp;&nbsp;&nbsp; BB1 EQU&nbsp; P1.5;<BR>&nbsp;&nbsp;&nbsp; RR2 EQU&nbsp; P1.4;<BR>&nbsp;&nbsp;&nbsp; GG2 EQU&nbsp; P1.3;<BR>&nbsp;&nbsp;&nbsp; BB2 EQU&nbsp; P1.2;<BR>DELAY:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#2EH<BR>LOOP:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#2FH<BR>LOOP1:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,#2FH<BR>LOOP2:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,LOOP2;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R1,LOOP1;<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R0,LOOP;<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET<BR>DELAYA:<BR>&nbsp;&nbsp;&nbsp;&nbsp; MOV&nbsp;&nbsp;&nbsp; R0,#1AH<BR>LOOP3:<BR>&nbsp;&nbsp;&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R0,LOOP3<BR>&nbsp;&nbsp;&nbsp;&nbsp; RET<BR>;//////////////////////////渐变///////////////////////////////////////////<BR>jianbian1:&nbsp;&nbsp; ;///绿变红<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;R0=R3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH&nbsp;&nbsp;&nbsp; ;R1=R4<BR>DMXAA:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;R5为FADE停留的次数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>DMXA:<BR>;//////////////////////////////////////////////1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>dmxA_1:<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp; R3,DMXA_1<BR>;//////////////////////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,A<BR>DMXA_2:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R4,DMXA_2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,DMXA<BR>;&nbsp;&nbsp; JB&nbsp;&nbsp;&nbsp;&nbsp; P3.0,DMXAA<BR>;///////////////////////////////////////////////<BR>&nbsp;&nbsp; INC&nbsp;&nbsp; R0<BR>&nbsp;&nbsp; DJNZ&nbsp; R1,DMXAA<BR>;////////////////////////////////////////////<BR>STAYR:<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; ;/////////<BR>;&nbsp;&nbsp; JB&nbsp;&nbsp;&nbsp;&nbsp; P3.0,STAYR<BR>;////////////////////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>jianbian2:&nbsp;&nbsp; ;红变蓝<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;R0=R3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH&nbsp;&nbsp;&nbsp; ;R1=R4<BR>DMXBB:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;R5为FADE停留的次数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>DMXB:<BR>;//////////////////////////////////////////////1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>dmxB_1:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp; R3,DMXB_1<BR>;//////////////////////////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,A<BR>DMXB_2:<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R4,DMXB_2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,DMXB<BR>&nbsp; ; JB&nbsp;&nbsp;&nbsp;&nbsp; P3.0,DMXBB<BR>;///////////////////////////////////////////////<BR>&nbsp;&nbsp; INC&nbsp;&nbsp; R0<BR>&nbsp;&nbsp; DJNZ&nbsp; R1,DMXBB<BR>;///////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>STAYG:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; ;/////////<BR>&nbsp;;&nbsp; JB&nbsp;&nbsp;&nbsp;&nbsp; P3.0,STAYG<BR>;//////////////////////////////////////////////<BR>jianbian3: ;蓝变绿<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R0,#01H&nbsp;&nbsp;&nbsp;&nbsp; ;R0=R3<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R1,#0FFH&nbsp;&nbsp;&nbsp; ;R1=R4<BR>DMXCC:<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;R5为FADE停留的次数。<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R2,A<BR>DMXC:<BR>;//////////////////////////////////////////////1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R0<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R3,A<BR>dmxC_1:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp; R3,DMXC_1<BR>;//////////////////////////////////////////////<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; A,R1<BR>&nbsp;&nbsp; MOV&nbsp;&nbsp; R4,A<BR>DMXC_2:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R4,DMXC_2<BR>&nbsp;&nbsp; DJNZ&nbsp;&nbsp; R2,DMXC<BR>&nbsp;;&nbsp; JB&nbsp;&nbsp;&nbsp;&nbsp; P3.0,DMXCC<BR>;///////////////////////////////////////////////<BR>&nbsp;&nbsp; INC&nbsp;&nbsp; R0<BR>&nbsp;&nbsp; DJNZ&nbsp; R1,DMXCC<BR>;///////////////////////////////////////////////</P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A><BR>STAYB:<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp; SETB&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; BB1<BR>&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp;&nbsp; BB2<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; CALL&nbsp;&nbsp; DELAY<BR>&nbsp;&nbsp; ;/////////<BR>&nbsp; AJMP&nbsp; JIANBIAN1<BR>;////////////////////////////<BR>SAN_SE:<BR>&nbsp;&nbsp;&nbsp;&nbsp; SETB&nbsp;&nbsp; RR1<BR>&nbsp;&nbsp;&nbsp;&nbsp; SETB&nbsp;&nbsp; RR2<BR>&nbsp;&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG1<BR>&nbsp;&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; GG2<BR>&nbsp;&nbsp;&nbsp;&nbsp; CLR&nbsp;&nbsp;&nbsp; B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nbsp; END<BR></P>
<P style="TEXT-INDENT: 2em">;原创程序,转载请注明出处</P>
<P style="TEXT-INDENT: 2em">;龙图开发网:&nbsp; <A href="http://www.longtoo.com/">http://www.longtoo.com</A></P></div>]]></description>
	    <author><![CDATA[92xinxi]]></author>
	    <comments>http://92xinxi.blog.163.com/blog/static/7294180920083201356519</comments>
    <slash:comments>0</slash:comments>
    <guid isPermaLink="true">http://92xinxi.blog.163.com/blog/static/7294180920083201356519</guid>
    <pubDate>Wed, 2 Apr 2008 00:13:56 +0800</pubDate>
    <dcterms:modified>2008-04-02T00:20:57+08:00</dcterms:modified>
  </item>    
 </channel>
</rss>