微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)

微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)

ID:39617013

大?。?6.04 KB

頁(yè)數(shù):9頁(yè)

時(shí)間:2019-07-07

微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)_第1頁(yè)
微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)_第2頁(yè)
微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)_第3頁(yè)
微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)_第4頁(yè)
微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)_第5頁(yè)
資源描述:

《微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)

1、微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)-課程設(shè)計(jì)微機(jī)原理課程設(shè)計(jì)_汽車(chē)小鳥(niǎo)動(dòng)畫(huà)_微機(jī)原理課程設(shè)計(jì)

2、精品課程網(wǎng)站設(shè)計(jì)

3、課程設(shè)計(jì)網(wǎng)報(bào)告總結(jié)心得運(yùn)行可執(zhí)行程序CAR.exe,選擇1,小鳥(niǎo)飛過(guò);選擇2,汽車(chē)開(kāi)過(guò);選擇3,退出。DATA??SEGMENTINFO1?DB0DH,0AH,'INPUT1,2,OR3:(1:bird,2:car,3:exit)$'BUFA??DB200??????DB???????DB200DUP(0)BUFB??DB200DUP(?)BIRD??DB76H,10,0,0?????????????;小鳥(niǎo)的字符圖形表????

4、??DB0C4H,07,0,1??????DB76H,10,-2,2??????DB0C4H,07,0,1??????DB76H,10,-2,2??????DB0C4H,07,0,1??????DB76H,10,-2,2??????DB0C4H,07,0,1??????DB76H,10,2,-2??????DB0C4H,07,0,1??????DB76H,10,2,-2??????DB0C4H,07,0,1??????DB76H,10,2,-2??????DB0C4H,07,0,1CAR???DB7??????????????????;小汽車(chē)的字符圖

5、形表??????DB52H,7,0,0??????DB0B1H,7,0,1??????DB0DBH,7,0,1??????DB0DBH,7,0,1??????DB4FH,7,1,0??????DB4FH,7,0,-3??????DB2,7,-2,1??????CHAR_CNTDW???????POINTERDW???????LINE_ONDB???????COL_ONDB?DATA??ENDSSTACK?SEGMENTstack??????DB200DUP(0)STACK?ENDSCODE??SEGMENT??????ASSUMECS:CODE,DS

6、:DATA,SS:STACK?start:movax,data??????movds,ax??????movah,0?????????????;設(shè)置顯示方式為320*200彩色圖形方式??????moval,4??????int10h??????leadx,info1?????????;在顯示器上顯示字符串提示信息?????????????movah,9??????int21h??????movah,0?????????????;從鍵盤(pán)讀取字符到AL寄存器??????int16h??????CMPAL,31H???????????;比較AL是否等于1

7、??????JNE?A??????CALLXIAO??A:?CMPAL,32H???????????;比較AL是否等于2????????????????JNE?B??????CALLQICHE??B:?CMPAL,33H???????????;比較AL是否等于3??????JNESTART??????MOVAH,4CH???????????;終止當(dāng)前程序并返回調(diào)用程序??????INT21HCLEAR?MACROpch,pcl,pdh,pdl,pbh;清屏宏定義??????MOVAH,0??????MOVAL,4??????INT10H??????M

8、OVAH,6?????????????;調(diào)用6號(hào)功能??????MOVAL,0?????????????;設(shè)置整個(gè)屏幕為空白??????MOVCH,pch?????????????????MOVCL,pcl???????????;窗口左上角(0行,0列)??????MOVDH,pdh??????MOVDL,pdl???????????;窗口右下角(24行,79列)??????MOVBH,pbh???????????;正常屬性顯示??????INT10HENDMxiao??proc???????????????????;小鳥(niǎo)子程序??????PUSH?

9、DS??????MOVAX,0??????PUSHAX??????MOVAX,DATA??????MOVDS,AX??????MOVAH,0??????MOVAL,4??????INT10H??????MOVAH,0BH???????????;設(shè)置背景色??????MOVBH,0??????MOVBL,1??????INT10H??????MOVAH,0BH???????????;設(shè)置彩色組??????MOVBH,1??????MOVBL,1??????INT10H??????CLEAR0,0,24,79,7??????MOVAH,0FH??????

10、?????;讀當(dāng)前顯示狀態(tài)??????INT10H??????MOVDH,10??????MOVDL,0BE

當(dāng)前文檔最多預(yù)覽五頁(yè),下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁(yè),下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動(dòng)畫(huà)的文件,查看預(yù)覽時(shí)可能會(huì)顯示錯(cuò)亂或異常,文件下載后無(wú)此問(wèn)題,請(qǐng)放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫(kù)負(fù)責(zé)整理代發(fā)布。如果您對(duì)本文檔版權(quán)有爭(zhēng)議請(qǐng)及時(shí)聯(lián)系客服。
3. 下載前請(qǐng)仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時(shí)可能由于網(wǎng)絡(luò)波動(dòng)等原因無(wú)法下載或下載錯(cuò)誤,付費(fèi)完成后未能成功下載的用戶請(qǐng)聯(lián)系客服處理。