⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪blog.htm

📁 我们做微机硬件综合实验做的一个交通信号灯实时控制系统设计
💻 HTM
📖 第 1 页 / 共 4 页
字号:
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; CALL 
                        DELAY10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;延迟</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; CALL 
                        DELAY10</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OR 
                        AL,0F0H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;灭2,4绿灯</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OUT DX, 
                        AL</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV CX, 
                        0008H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;8次</P>
                        <P>GGG:&nbsp; &nbsp; MOV DX, 219H</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV 
                        AL,PB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;亮2,4黄灯</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; AND 
                        AL,01011111B</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OUT DX, 
                        AL</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; CALL 
                        DELAY1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;延迟</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OR 
                        AL,10100000B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;灭2,4黄灯</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OUT DX, 
                        AL</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; CALL 
                        DELAY1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;延迟</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; LOOP 
                        GGG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;黄灯闪烁8次</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV DX, 
                        21AH</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV 
                        AL,0F0H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;4个红灯亮,4个绿灯灭</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; OUT DX, 
                        AL</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
                        CALL 
                        DELAY1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;延迟</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV AH, 
                        06H</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV 
                        DL,0FFH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;判断是否有键按下,有则转PPP</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; INT 
                        21H</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; JNZ 
                        PPP</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; JMP 
                        LLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;继续</P>
                        <P>PPP: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOV AX, 
                        4C00H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;返回DOS</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; INT 
                        21H</P>
                        <P>DELAY1&nbsp; PROC 
                        NEAR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;延迟子程序1</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
                        PUSH CX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV CX, 
                        8000H</P>
                        <P>CCC: &nbsp;&nbsp;&nbsp;&nbsp; LOOP CCC</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; POP 
CX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; RET</P>
                        <P>DELAY1&nbsp; ENDP</P>
                        <P>DELAY10&nbsp; PROC 
                        NEAR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        ;延迟子程序2</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
                        PUSH AX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; PUSH 
                        CX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; MOV CX, 
                        0030</P>
                        <P>UUU:&nbsp; &nbsp;&nbsp; CALL DELAY1</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; LOOP 
                        UUU</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; POP 
CX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; POP 
AX</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; RET</P>
                        <P>DELAY10 ENDP</P>
                        <P>CODE &nbsp;&nbsp; ENDS</P>
                        <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; END 
                        START</P></DIV></DIV></TD></TR></TBODY></TABLE>
                  <TABLE class=dashed cellSpacing=0 cellPadding=0 align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD></TD></TR></TBODY></TABLE>
                  <TABLE class=function cellSpacing=0 cellPadding=0 align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD><A 
                        href="http://blog.sina.com.cn/control/writing/scriber/article_add_by_quote.php?blog_id=462a59890100086c" 
                        target=_blank>引用</A>┆<A 
                        href="http://blog.sina.com.cn/myblog/article/article_reader.php?blog_id=462a59890100086c" 
                        target=_blank>阅读(0)</A>┆<A 
                        href="javascript:get('/sns/service.php?m=circleinfo&amp;blog_id=462a59890100086c','/xsl/circle.xsl','circleinfo_462a59890100086c','output','gload');">圈子</A>┆<A 
                        href="http://blog.sina.com.cn/myblog/article/article_print.php?blog_id=462a59890100086c" 
                        target=_blank>打印</A>┆<A 
                        onclick="new dialog().showWindow('/advice/impeach.php?url=' + escape(document.location.href),'510','495');" 
                        href="javascript:;">有奖举报</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 align=center border=0>
              <TBODY>
              <TR>
                <TD id=articleChild462a59890100086c 
              style="DISPLAY: none"></TD></TR></TBODY></TABLE></DIV></CENTER>
            <SCRIPT 
            src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/hits.htm"></SCRIPT>

            <DIV id=gload></DIV></DIV>
            <DIV class=margin></DIV></TD>
          <TD class=box_1 vAlign=top>
            <DIV class=margin></DIV>
            <DIV class=margin id=box_1>
            <DIV class=photo>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=top></TD></TR>
              <TR>
                <TD class=mid align=middle>
                  <TABLE cellSpacing=0 cellPadding=0 align=center border=0>
                    <TBODY>
                    <TR>
                      <TD align=middle>
                        <DIV class=image><IMG alt=青苹乐 
                        onerror="this.src='http://image2.sina.com.cn/blog/tmpl/v3/images/default_icon.jpg';this.onerror='';" 
                        src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/462a598902000001.jpg" 
                        onload=resizeImg(this,180) align=middle 
                      border=1></DIV></TD></TR>
                    <TR>
                      <TD>
                        <SCRIPT>													function invite_friend(){														bcDialog.show("http://blog.sina.com.cn/control/friend/add_friend.php?opid=" + UID, 274, 255);														bc.hidden();													}													function send_message(){														bcDialog.show("http://blog.sina.com.cn/myblog/message/send_message.php?toid=" + UID, 274, 100);														bc.hidden();													}													function showCard(e,l){														e = e || window.event;														bc.show(UID,e,null,l);													}												</SCRIPT>

                        <DIV class=infoText 
                        style="BORDER-TOP: #6a6a6a 0px dashed; PADDING-BOTTOM: 10px; MARGIN: 8px 14px"><A 
                        style="MARGIN-RIGHT: 5px" 
                        onclick="showCard(event,'alphoto');return false;" 
                        href="javascript:void(0);"><IMG 
                        style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-BOTTOM: 2px; BORDER-LEFT: 0px; CURSOR: hand; BORDER-BOTTOM: 0px" 
                        alt=查看个人名片 
                        src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/bloger_card_icon.gif" 
                        align=absMiddle></A><A 
                        href="http://blog.sina.com.cn/qpl">青苹乐</A></DIV>
                        <DIV 
                        style="BORDER-RIGHT: #000 0px dashed; BORDER-TOP: #000 0px dashed; BORDER-LEFT: #000 0px dashed; BORDER-BOTTOM: #000 0px dashed; TEXT-ALIGN: center"><A 
                        style="MARGIN-RIGHT: 10px" 
                        href="javascript:invite_friend()"><IMG 
                        style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" 
                        src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/invite_index.gif"></A><A 
                        href="javascript:send_message()"><IMG 
                        style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" 
                        src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/send_index.gif"></A></DIV></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD class=bottom></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR class=line>
                <TD></TD></TR></TBODY></TABLE></DIV>
            <DIV id=labelFM000009>
            <SCRIPT 
            src="微机原理课程设计报告之四--红绿灯设计- 青苹乐 - 新浪BLOG.files/checkzone.htm"></SCRIPT>
            </DIV>
            <DIV class=links>
            <TABLE id=linksFM000008 cellSpacing=0 cellPadding=0 width="100%" 
            border=0>
              <TBODY>
              <TR>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR class=sysHand 
                    onclick="javascript:hide('linkBodyFM0000085');swap('linkTitleFM0000085','className','up','down');">
                      <TD class=up id=linkTitleFM0000085>
                        <DIV 
                  class="sysBr180 text">我的文章分类</DIV></TD></TR></TBODY></TABLE></TD></TR>
              <TR id=linkBodyFM0000085>
                <TD class=mid>
                  <TABLE height=6>
                    <TBODY>
                    <TR>
                      <TD></TD></TR></TBODY></TABLE>
                  <TABLE class=wd cellSpacing=0 cellPadding=0 border=0>
                    <TBODY>
                    <TR>
                      <TD class=ico vAlign=top align=middle width=20><FONT 
                        style="FONT-SIZE: 6px">■</FONT></TD>
                      <TD class=dashed>
                        <TABLE cellSpacing=0 cellPadding=0 width="100%" 
border=0>
                          <TBODY>
                          <TR>
                            <TD>
                              <DIV class=sysBr180><A title="" 
                              onclick="this.href='#sort_0';get('/sns/service.php?m=aList&amp;uid=1177180553&amp;sort_id=0', '/xsl/aList.xsl', 'aList_0', 'output', 'box_2')" 
                              href="http://blog.sina.com.cn/u/462a59890100086c#sort_0" 
                              target=_self>我的所有文章</A></DIV></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD class=ico vAlign=top align=middle width=20><FONT 
                        style="FONT-SIZE: 6px">■</FONT></TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -