【正文】
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, 攀枝花 學(xué)院專科畢業(yè)論文(設(shè)計(jì)) 致謝 27 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 translator has to grapple with. Maybe among literary translations, the translation of poems is the most difficult thing. Poems are the crystallization of wisdom. The difficulties of poetic prehension lie not only in lines, but also in structure, such as cadence, rhyme, metre, rhythm, all these conveying information. One point merits our attention. Wang not only talks about the times? poetic art, but also the impact language?s activity has produced on translation. In times when the language is active, translation is prospering. The reform of poetic art has improved the translation quality of poems. For example, around May Fourth Movement, Baihua replaced classical style of writing, so the translation achieved earthshaking success. The relation between the state of language and translation is so 。 在這里深深的對(duì)三年來(lái)給了我們傳授知識(shí)的老師們表示衷心的感謝 ,特別是我的論文指導(dǎo)張仁武老師 ,謝謝你一遍又一遍的為我指導(dǎo)論文 ,指出我的不足 ,并且不厭其煩的幫助我修改 ,使我順利完成我的畢業(yè)論文 , 真的謝謝 各位老師的教導(dǎo)。也極大地提高了實(shí)踐能力,單片機(jī)領(lǐng)域這對(duì)我今后進(jìn)一步學(xué)習(xí)計(jì)算機(jī)方面的知識(shí)有極大的幫助。 通過(guò)這次畢業(yè)設(shè)計(jì),使我得到了一次用專業(yè)知識(shí)、專業(yè)技能分析和解決問(wèn)題全面系統(tǒng)的鍛煉。系統(tǒng) 統(tǒng)采用 MSC51系列單片機(jī) Intel8051 和可編程并行 I/O 接口芯片 8255A 為中心器件來(lái)設(shè)計(jì)交通燈控制器,實(shí)現(xiàn)了能根據(jù)實(shí)際車流量通過(guò) 8051 芯片的 P1 口設(shè)置紅、綠燈燃亮?xí)r間的功能; 紅綠燈循環(huán)點(diǎn)亮,倒計(jì) 時(shí)剩 5秒時(shí)黃燈閃爍警示( 交通燈信號(hào)通過(guò) PA 口輸出 , 顯示時(shí)間直接通過(guò) 8255 的 PC口 輸出 至雙位數(shù)碼管) ; 車輛闖紅燈報(bào)警;綠燈時(shí)間可檢測(cè)車流量并可通過(guò)雙位數(shù)碼管顯示。顯示十位 MOV DPTR,TAB MOVC A,A+DPTR MOV DPTR,0002H MOVX DPTR,A MOV DPTR,0001H MOV A,0F7H MOVX DPTR,A 攀枝花學(xué)院??飘厴I(yè)論文(設(shè)計(jì)) 控制器的軟件設(shè)計(jì) 23 LCALL DELAY DS4: MOV A,7AH 。若綠燈倒計(jì)時(shí)完畢,不再檢測(cè)車流量 JZ N3 JB ,T03 INC R7 CJNE R7,64H,E1 MOV R7,00H 。R3 中值二轉(zhuǎn)十顯示轉(zhuǎn)換 DIV AB MOV 79H,A MOV 7AH,B DIS: MOV A,79H 。報(bào)警初值減一 T01: ACALL DISP 。給定時(shí)器 T0 送定時(shí) 10ms 的初值 MOV TH0,0F1H INC R4 INC R5 CJNE R5,0FAH,T01 。若倒計(jì)時(shí)完畢,不再報(bào)警 CLR 。黃燈持續(xù)滅 秒 CJNE R3,00H,N3 。黃燈閃爍 5 秒程序 N3: MOV R3,05H MOV DPTR,0000H 。閃爍時(shí)間達(dá) 5 秒則退出 。置 8255A 口,東西,南北方向黃燈亮 MOV A,0D4H MOVX DPTR,A N11: MOV R4,00H N12: CJNE R4,7DH,$ 。東西方向禁止,南北方向通行 MOV R3,A MOV DPTR,0000H 。存入東西方向紅燈初始時(shí)間 MOV R3,A LCALL DISP1 LCALL DELAY AJMP AGAIN 。R0 清零 MOV R0,A 。選擇邊沿觸發(fā)方式 MOV DPTR ,0003H MOV A, 80H 。設(shè)置 T1 為計(jì)數(shù)方式 ,T0 為定時(shí)方式,且都工作于模式 1 MOV TH1,00H 。定時(shí)器 0 的中斷程序入口地址 LJMP T0_INT 。 8255 輸出信號(hào)與 數(shù) 碼管 的連接: LED 燈的顯示原理 :通過(guò)同名管腳上所加電平的高低來(lái)控制發(fā)光二極管是否點(diǎn)量而顯示不同的字形如 SP, g,f,e,d,c,b,a 管角上加上7FH所以 SP上為0伏,不亮其余為TTL高電平,全亮則顯示為8 采用共陰級(jí)連接 : 其中 PC0\PB0a, PC1\PB1b, PC2\PB2c, PC3\PB3d, PC4\PB4e, PC5\PB5f, PC6\PB6g PC7\PB7 SP 接地 顯示數(shù)值 dop g f e d c b a 驅(qū)動(dòng)代碼( 16 進(jìn)制) 0 0 0 1 1 1 1 1 1 3FH 1 0 0 0 0 0 1 1 0 06H 2 0 1 0 1 1 0 1 1 5BH 3 0 1 0 0 1 1 1 1 4FH 4 0 1 1 0 0 1 1 0 66H 5 0 1 1 0 1 1 0 0 6DH 攀枝花學(xué)院專科畢業(yè)論文(設(shè)計(jì)) 控制器的軟件設(shè)計(jì) 17 6 0 1 1 1 1 1 0 0 7DH 7 0 0 0 0 0 1 1 1 07H 8 0 1 1 1 1 1 1 1 7FH 表 3 驅(qū)動(dòng)代碼表 8255 與 8051 的連接: 用 8051的 P0 口的 連接 8255 的片選信號(hào) cs 我們用 8051 的地址采用全譯碼方式,當(dāng) =0 時(shí)片選有效, 其他無(wú)效, 用于選擇 8255端口 A7 A6 A5 A4 A3 A2 A1 A0 1 X X X X X 0 0 00H 為 8255 的 PA口 1 X X X X X 0 1 01H 為 8255 的 PB口 1 X X X X X 1 0 02H 為 8255 的 PC口 1 X X X X X 1 1 03H 為 8255 的控制口 由于 8051 是分時(shí)對(duì) 8255 和儲(chǔ)存器進(jìn)行訪問(wèn)所以 8051的 P0口不會(huì)發(fā)生沖突 程序設(shè)計(jì) 流程圖如圖所示 圖 10 開(kāi)始 初始化 等待鍵盤(pán)事件 鍵盤(pán)事件處理 顯示程序處理 攀枝花學(xué)院專科畢業(yè)論文(設(shè)計(jì)) 控制器的軟件設(shè)計(jì) 18 圖 11 程序流程圖 程序源代碼 ORG 0000H 。 擴(kuò)展的方法有兩種:( 1)借用外部 RAM 地址來(lái)擴(kuò)展 I/O 端口;( 2)采用 I/O接口新片來(lái)擴(kuò)充。 具體的延時(shí)程序分析: DELAY:MOV R4,08H 延時(shí) 1秒子程序 DE2:LCALL DELAY1 DJNZ R4,DE2 RET DELAY1:MOV R6,0 延時(shí) 125ms 子程 序 MOV R5,0 DE1: DJNZ R5,$ DJNZ R6,DE1 RET MOV RN, DATA 字節(jié)數(shù)數(shù)為 2 機(jī)器周期數(shù)為 1 所以此指令的執(zhí)行時(shí)間為 2ms DELAY1 為一個(gè)雙重循壞 循環(huán)次數(shù)為 256*256=65536 所 以 延 時(shí) 時(shí) 間=65536*2=131072us 約為 125us DELAY R4 設(shè)置的初值為 8 主延時(shí)程序循環(huán) 8 次,所以 125us*8= 1 秒 由于單片機(jī)的運(yùn)行速度很快其他的指 令執(zhí)行時(shí)間可以忽略不計(jì)。重裝入定時(shí)器初值 MOV TL0, BOH 。 MOV IE