【正文】
的晶振 合計(jì): 24 元 7 結(jié)束語(yǔ) 我在前面的一些處理還是比較順利,比如說(shuō)按鍵的處理、下移、左右移、旋轉(zhuǎn)、消行、碰邊等問(wèn)題, 2天的時(shí)間就弄好了。 填裝初值子程序 。=========觸邊旋轉(zhuǎn)判斷 ==================== zhuanpan0: mov a, 31h jnb , hui0 call zyizhou ajmp hui hui0: mov a, 32h jnb , hui1 call zyizhou ajmp hui hui1: mov a, 33h jnb , hui call zyizhou hui: ret 。 清屏子程序 。===================================================== 。===================================================== 。再判斷這些數(shù)據(jù)就可以得到圖形是否到邊。湖南信息科學(xué)職業(yè)學(xué)院 畢 業(yè) 論 文(設(shè)計(jì) ) 游戲機(jī)的制作:俄羅斯方塊 學(xué)生姓名: 學(xué) 號(hào): 年級(jí)專(zhuān)業(yè): 二○○六級(jí)電子信息 指導(dǎo)老師: 系 別: 電子信息系 湖南 3 硬件電路 74HC573 驅(qū)動(dòng)芯片電路 此芯片時(shí)個(gè)鎖存器,也可以做驅(qū)動(dòng)芯片驅(qū)動(dòng) LED 點(diǎn)陣屏幕,這里面的電源和地系統(tǒng)附加了 但是實(shí)際中的加上去,不然芯片不能工作。 主程序 。 按鍵掃描 。============================================================ qingping: mov 41h, 00h mov 42h, 00h mov 43h, 00h mov 44h, 00h mov 45h, 00h mov 46h, 00h mov 47h, 00h mov 48h, 00h ret 。========觸邊旋轉(zhuǎn)判斷 ==================== zhuanpan1: mov a, 31h jnb , hui3 call yyizhou ajmp hui2 hui3: mov a, 32h jnb , hui4 26 call yyizhou ajmp hui2 hui4: mov a, 33h jnb , hui2 call yyizhou hui2: ret 。=============================================================== chuzhi: mov 51h, 5 mov 4dh, 50h mov r2, 00 cjne r1,0,aa1 mov dptr, tab0 ajmp aa aa1: cjne r1,1, aa2 mov dptr, tab1 ajmp aa aa2: cjne r1,2, aa3 mov dptr, tab2 ajmp aa aa3: cjne r1,3, aa4 mov dptr, tab3 ajmp aa aa4: cjne r1,4, aa5 mov dptr, tab4 39 ajmp aa aa5: cjne r1,5, aa6 mov dptr, tab5 mov r1, 00 aa: mov r3, 00 mov a, r3 movc a, a+dptr mov 31h, a inc r3 mov a, r3 movc a, a+dptr mov 32h, a inc r3 mov a, r3 movc a, a+dptr mov r3, 0 mov 33h, a aa6: ret 。最浪費(fèi)我時(shí)間的是與下面的圖形相遇的處理。 謝謝我的父母,沒(méi)有他們辛勤的付出也就沒(méi)有我的今天,在這一刻,將最崇高的敬意獻(xiàn)給你們! 本文參考了大量的文獻(xiàn)資料,在此,向各學(xué)術(shù)界的前輩們致敬! 45 參考文獻(xiàn) 余小清、趙恒凱等編 .現(xiàn)代通信原理(第 5版) .北京:清華大學(xué)出版社, 2021 張輝、曹麗娜 編 .現(xiàn)代通信原理與技術(shù)(第 1版) .北京:西安電子科技大學(xué)出版社, 2021 .美:電子工業(yè)出版社, 2021 附錄:外文翻譯 In Wang Zuoliang’s translation practices, he translated many poems, especially the poems written by Robert Burns. His translation of Burn’s “A Red, Red Rose” brought him fame as a verse translator. At the same time, he published about ten papers on the translation of poems. Some argue that poems cannot be translated. Frost stresses that poetry might get lost in translation. According to Wang, verse translation is possible and necessary, for “The poettranslator brings over some exciting work from another culture and in doing so is also writing his own best work, thereby adding something to his culture. In this transmission and exchange, a richer, more colorful world emerges. ”(Wang, 1991:112). Then how can we translate poems? According to Wang’s understanding, the translation of poems is related to three aspects: A poem’s meaning, poetic art and language. ( 1) A poem’s meaning “Sociocultural differences are formidable enough, but the matter is made much more plex when one realizes that meaning does not consist in the meaning of words only, but also in syntactical structures, speech rhythms, levels of style.” (Wang, 1991:93). ( 2) Poetic art According to Wang, “Bly’s point about the ‘marvelous translation’ being made possible in the United States only after Whitman, Pound and Williams Carlos Williams posed poetry in speech rhythms shows what may be gained when there is a genuine revolution in poetic art.” (Wang, 1991:93). ( 3) Language “Sometimes language stays static and sometimes language stays active. When language is active, it is beneficial to translation” “This would require this kind of intimate understanding, on the part of the translator, of its genius, its idiosyncrasies, its past and present, what it can do and what it choose not to do.” (Wang, 1991:94). Wang expresses the difficulties of verse translation. Frost’s ment is sufficient to prove the difficulty a translato。后來(lái)經(jīng)過(guò)老師指導(dǎo)要我把顯示圖形的三個(gè)地址作為一個(gè)整體判斷,也弄了好久,還是有些地方不能判斷 出來(lái),思考好久之后我才想到用這個(gè)方法判斷出來(lái)。 初始化設(shè)置子程序 。=========X 軸左移一位 ================= zyizhou: mov a, 31h rr a mov 31h, a mov a, 32h rr a mov 32h, a mov a, 33h rr a mov 33h, a ret 。 下移顯示 。===================================================== 。掃描按鍵 call xianshi0 。 3 單片機(jī)最小系統(tǒng)電路 整體電路圖以及仿真效果 但是里面的電源、地、晶振、復(fù)位、 EA 等 在仿真中系統(tǒng)自動(dòng)加的 要是在實(shí)際生活中的加進(jìn)去。在實(shí)時(shí)檢測(cè)和自動(dòng)控制的單片機(jī)應(yīng)用系統(tǒng)中,單片機(jī)往往是作為一個(gè)核心部件來(lái)使用,僅單片機(jī)方面知識(shí)是不夠的,還應(yīng)根據(jù)具體硬件結(jié)構(gòu),以及針對(duì)具體應(yīng)用對(duì)象特點(diǎn)的軟件結(jié)合,以作完善。 圖形的碰邊處理 :如果不對(duì)圖形進(jìn)行邊框處理,圖形就會(huì)一直移動(dòng),看不到我們想要的效果。============================================ 0000h ajmp start 0bh ljmp intt0 30h 。調(diào)用延時(shí) 500ms 子程序 ,500ms 到 bt11=1 jnb bt11, main clr bt11 call manping 。============================================================ manping: mov 41h, 0ffh mov 42h, 0ffh mov 43h, 0ffh mov 44h, 0ffh mov 45h, 0ffh mov 46h, 0ffh mov 47h, 0ffh mov 48h, 0ffh ret 。====================================================== zhuan: cjne r1,0, bu0 call zhuan0 ajmp bu bu0: cjne r1,1, bu1 call zhuan1 ajmp bu bu1: cjne r1,2, bu2 call zhuan2 ajmp bu bu2: cjne r1,3, bu3 call zhuan3 ajmp bu bu3: cjne r1,4, bu call zhuan4 bu: ret 21 zhuan0: inc r2 cjne r2,1, gg0 mov 31h, 10h mov 32h, 18h mov 33h, 10h call yizhou ajmp gg gg0: cjne r2,2, gg1 mov 31h, 38h mov 32h, 10h mov 33h, 00h call yizhou ajmp gg gg1: cjne r2,3, gg2 mov 31h, 10h mov 32h, 30h mov 33h, 10h call yizhou ajmp gg gg2: cjne r2,4, gg mov r2, 00 mov 31h, 10h mov 32h, 38h mov 33h, 00h call yizhou gg: ret zhuan1: inc r2 cjne r2,1, ggg0 mov 31h, 08h mov 32h, 18h mov 33h, 10h cal