【正文】
s time, your ideas are always special to clear. Want, want, line is clear, as if nothing could s。 Originally, this world, can produce a chemical reaction to an event, in addition to resolutely, have to do, and ,這個世界上,對某個事件能產(chǎn)生化學(xué)反應(yīng)的,除了非做不可的堅決,還有,時間。t want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can39。t really grow up, it seems is not so important。 The end of our life, and can meet many things really do? 而窮盡我們的一生,又能遇到多少事情是真正地 非做不可? During my childhood, think lucky money and new clothes are necessary for New Year, but as the advance of the age, will be more and more found that those things are optional??傆X得自己似乎應(yīng)該去做點什么,或者寫點什么。 May be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. Always feel oneself should go to do something, or write something. Twenty years of life trajectory deeply shallow, suddenly feel something, do it. 一字開頭的年齡已經(jīng)到了尾聲。s actions. CSKA said they were surprised and disappointed by Toure39。s 21 win. xx 大學(xué)本科畢業(yè)設(shè)計(論文) 41 Michel Platini, president of European football39。s Premier League match at Chelsea on Sunday. I am going to be at the match tomorrow and I have asked to meet Ya ya Toure, he told BBC Sport. For me it39。s antiracism taskforce, is in London for the Football Association39。t charge you more than 35% of your pensation if you win the case. you39。t agree with the disciplinary action your employer has taken against you your employer dismisses you and you think that you have been dismissed unfairly. For more informu, take advice from one of the anisations listed under Further help. Employment tribunals are less formal than some other courts, but it is still a legal process and you will need to give evidence under an oath or affirmation. Most people find making a claim to an employment tribunal challenging. If you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the anisations listed under Further help. ation about dismissal and unfair dismissal, see Dismissal. You can make a claim to an employment tribunal, even if you haven39。調(diào)用延時程序 SJMP LOOP3 。若沒按復(fù)位信號鍵,則通過 口給出高低 CPL 。找到相應(yīng)位的顯示代碼 基于 AT89S52單片機(jī)的搶答器設(shè)計 40 MOV P1,A LOOP3: JNB ,BEGIN 。接收 P3 口的搶答信號 CPL A JZ LOOP1 LOOP2: RRC A 。P2 口置高電平,準(zhǔn)備接收信號 MOV R4,0 MOV A,R4 。5678 DELAY: MOV R5,20 。共陰極數(shù)碼管顯示代碼表 DB 3FH,06H,5BH,4FH,66H。謝謝實驗老師在設(shè)計期間為我提供做實驗的場所,謝謝在此期間幫助過我的 老師和同學(xué)們,以及默默支持我的家人及親戚。 他以謙虛謹(jǐn)慎地態(tài)度給予我耐心的指導(dǎo)與點撥。 此次設(shè)計的搶答器,電路簡單、成本較低、操作方便、靈敏可靠、具有較高的推廣價值。 ( a) 選手搶答前的狀態(tài) ( b) 一號選手搶答到的狀態(tài) xx 大學(xué)本科畢業(yè)設(shè)計(論文) 27 ( c) 二號選手搶答到的狀態(tài) ( d) 三號選手搶答到的狀態(tài) 基于 AT89S52單片機(jī)的搶答器設(shè)計 28 ( e) 四號選手搶答到的狀態(tài) ( f) 五號選手搶答到的狀態(tài) xx 大學(xué)本科畢業(yè)設(shè)計(論文) 29 ( g) 六號選手搶答到的狀態(tài) ( h) 七號選手搶答到的狀態(tài) 基于 AT89S52單片機(jī)的搶答器設(shè)計 30 ( i) 八號選手搶答到的狀態(tài) ( j) 主持人按鍵清零 圖 57 具體仿真測試圖 xx 大學(xué)本科畢業(yè)設(shè)計(論文) 31 6 結(jié) 論 本設(shè)計基于單片機(jī)技術(shù),利用美國愛特梅爾( Atmel)公司的 AT89S52 單片機(jī)作為主控芯片 ,74LS245 作為數(shù)碼管驅(qū)動模塊和七段數(shù)碼管作為顯示器, 結(jié)合電源電路、 晶振振蕩電路、復(fù)位電路等外圍輔助電路, 并采用 匯編語言對程序進(jìn)行編譯。 基于 AT89S52單片機(jī)的搶答器設(shè)計 24 圖 55 調(diào)試圖 xx 大學(xué)本科畢業(yè)設(shè)計(論文) 25 系統(tǒng)仿真測試 將編譯生成的 “基于 AT89S52 單片機(jī)的搶答器設(shè)計 .hex”文件寫入單片機(jī)AT89S52 進(jìn)行仿真測試,仿真測試 電路圖 如圖 56 所示。如果發(fā)現(xiàn)程序有錯,可采用在線匯編功能對程序進(jìn)行在線修改( DebugInline Assambly…… ),不必執(zhí)行先退出調(diào)試環(huán)境、修改源程序、對工程重新進(jìn)行編譯 /匯編和連接、然后再次進(jìn)入調(diào)試狀態(tài)的步驟。 xx 大學(xué)本科畢業(yè)設(shè)計(論文) 23 圖 54 HEX 文件生成圖 Keil 軟件的調(diào)試: 成功編譯 /匯編、連接后,選擇菜單 DebugStart/Stop Debug Session(或按 Ctrl+F5鍵 )進(jìn)入程序調(diào)試狀態(tài), Keil 提供對程序的模擬調(diào)試功能,內(nèi)建一個功能強(qiáng)大的仿真 CPU,以模擬 執(zhí)行程序。 基于 AT89S52單片機(jī)的搶答器設(shè)計 22 圖 52 單片機(jī)型號窗口 程序的編譯 為工程新建一個文件 , 寫入?yún)R編程序,如圖 53。 軟件編譯 工程的創(chuàng)建 雙擊桌面上的 “Keil uVsion2”快捷 圖標(biāo),鼠標(biāo)點擊 “Project”,新建工程,如圖51。V2)。這個調(diào)試軟件是一個基于 32 位 Windows 環(huán)境的應(yīng)用程序,支持 C 語言和匯編語言編程,其 以上的版本將編譯和仿真軟件統(tǒng)一為 181。 ( a) 主 程序 流程圖 ( b) 按鍵子程序流程圖 初始化 按鍵子程序 顯示子程序 報警子程序 開始 開始 初始化 有選手按鍵? 主持人按鍵? 結(jié)束 N N Y Y 基于 AT89S52單片機(jī)的搶答器設(shè)計 20 (c) 報警子程 序流程圖 ( d) 顯示子程序流程圖 圖 41 程序流程圖 開始 =1 有選手按鍵? =0 蜂鳴器發(fā)音 結(jié)束 Y N 開始 初始化 有選手按鍵? 顯示選手號碼 結(jié)束 N Y xx 大學(xué)本科畢業(yè)設(shè)計(論文) 21 5 軟件調(diào)試及仿真 軟件調(diào)試主要用 Keil C51 軟件。循環(huán)掃描 P3 口,看是否有按鍵 按下,如果有按鍵按下,則轉(zhuǎn)入判斷是哪個選手按下按鍵,并在數(shù)碼管上顯示選手的號碼; 置低電平,蜂鳴器發(fā)聲,主持人按鍵按下,系統(tǒng)重新進(jìn)入主程序繼續(xù)進(jìn)行下一輪搶答。 圖 37 選手按鍵電路 基于 AT89S52單片機(jī)的搶答器設(shè)計 18 xx 大學(xué)本科畢業(yè)設(shè)計(論文) 19 4 系統(tǒng)軟件設(shè)計 本次系統(tǒng)軟件設(shè)計,主要對輸入數(shù)據(jù)存儲,數(shù)據(jù)運算進(jìn)行算法的編程,最后采用匯編語言對控制源程序進(jìn)行編譯,使計算的結(jié)果準(zhǔn)確無誤的顯示在顯示器LED 數(shù)碼管上。當(dāng)選手不按鍵時,相應(yīng)的位 為高電平,按下鍵位時,相應(yīng)的位被觸發(fā)為 低 電平。