【正文】
序設(shè)計(jì)語言,全面系統(tǒng)地介紹了程序設(shè)計(jì)的發(fā)展、結(jié)構(gòu)化程序設(shè)計(jì)方法和面向?qū)ο蟪绦蛟O(shè)計(jì)方法,并用C語言具體描述了結(jié)構(gòu)化程序設(shè)計(jì)。該書還詳細(xì)地講述了C語言的基本概念,語法規(guī)則和語義特點(diǎn),通過這三個(gè)層次的例子介紹了程序設(shè)計(jì)的基本方法和技巧。[8] 馬家辰,孫玉德,:哈爾濱工業(yè)大學(xué)出版社,2001摘要 本書全面系統(tǒng)的介紹了MCS51單片機(jī)的結(jié)構(gòu)、原理、接口技術(shù)、擴(kuò)展應(yīng)用等知識(shí),主要內(nèi)容包括:計(jì)算機(jī)運(yùn)算基礎(chǔ),計(jì)算機(jī)硬件電路基礎(chǔ),單片微型機(jī)的組成原理,MCS51系列單片機(jī)的指令系統(tǒng),匯編語言程序設(shè)計(jì),MCS51單片機(jī)的擴(kuò)展應(yīng)用,MCS51單片機(jī)接口技術(shù),最新增強(qiáng)型51系列兼容單片機(jī)介紹,單片機(jī)指令一覽表和常用芯片的引腳圖等。[9] 付家才.單片機(jī)控制工程實(shí)踐技術(shù). 北京:化學(xué)工業(yè)出版社,2004.摘要 本書從實(shí)踐的角度出發(fā),對(duì)單片機(jī)的指令系統(tǒng)、基本應(yīng)用、基本外設(shè)的設(shè)計(jì)、應(yīng)用系統(tǒng)的開發(fā)、工業(yè)控制的應(yīng)用等進(jìn)行了詳細(xì)闡述,并給出了單片機(jī)的應(yīng)用實(shí)例。本書取材于現(xiàn)場(chǎng)經(jīng)驗(yàn),力求理論與實(shí)際相結(jié)合,內(nèi)容深入淺出、圖文并茂,實(shí)用性強(qiáng)。本書是電氣工程實(shí)踐技術(shù)系列教材之一,既適用于本科、高職高專院校相關(guān)專業(yè)的實(shí)習(xí)與實(shí)踐技能培訓(xùn),又可作為電類專業(yè)工程技術(shù)人員的參考書。[10]王曉君,安國臣.MCS51及兼容單片機(jī)原理與選型[M] .北京:電子工業(yè)出版社,2003.摘要 長期以來,MCS51系列單片機(jī)一直統(tǒng)治著國內(nèi)外單片機(jī)市場(chǎng),但近年來,國際上許多著名半導(dǎo)體廠家竟相推出的各具特色的MCS51兼容單片機(jī),也深受國內(nèi)外廣大用戶的青睞。本書從實(shí)用角度出發(fā),在全面系統(tǒng)地闡述了MCS51系列單片機(jī)的CPU及外設(shè)的工作原理、指令系統(tǒng)之后,重點(diǎn)對(duì)國內(nèi)外流行的MCS51兼容單片機(jī)進(jìn)行了系統(tǒng)、全面的歸納總結(jié),并就幾種典型產(chǎn)品的功能進(jìn)行了深入剖析。全書共6章。第1章介紹了MCS51系列標(biāo)準(zhǔn)單片機(jī)的CPU及外設(shè)工作原理,第2章闡述了指令系統(tǒng)與匯編/連接器的使用,第3~6章分別對(duì)Atmel、Philips、Dallas、WinBond公司開發(fā)的MCS51兼容單片機(jī)進(jìn)行了歸納總結(jié),并對(duì)在國內(nèi)外頗具影響力的十幾種典型產(chǎn)品進(jìn)行了深入的剖析。[11] 潘永雄.新編單片機(jī)原理與應(yīng)用[M] .西安:西安電子科技大學(xué)出版社,2003. 摘要 本書以增強(qiáng)型MCS51單片機(jī)原理及應(yīng)用為主線,系統(tǒng)地介紹了8XC5X(包括8XC5X2)、8XC51RX、98C6XXP87LPC76X系列MPU芯片的內(nèi)部結(jié)構(gòu)、指令系統(tǒng)、資源及擴(kuò)展方法、接口技術(shù),以及單片機(jī)應(yīng)用系統(tǒng)硬件結(jié)構(gòu)、開發(fā)手段與設(shè)備等。在編寫過程中,盡量避免過多地介紹程序設(shè)計(jì)的方法和技巧,著重介紹硬件資源及使用方法、系統(tǒng)構(gòu)成及連接,注重典型性和代表性,以期達(dá)到舉一反三的效果。在內(nèi)容安排上,力求兼顧基礎(chǔ)性、實(shí)用性、先進(jìn)性。[12] , , . The Everywhere Displays Projector: A Device to Create Ubiquitous Graphical Interfaces. Lecture Notes in Computer Science , September 30 October 2, 2001Abstract: This paper introduces the Everywhere Displays projector, a device that uses a rotating mirror to steer the light from an LCD projector onto different surfaces of an environment. Issues of brightness, oblique projection distortion, focus, obstruction, and display resolution are examined. Solutions to some of these problems are described, together with a plan to use a video camera to allow devicefree interaction with the projected images. The EDprojector is a practical way to create ubiquitous graphical interfaces to access putational power and networked data. In particular, it is envisioned as an alternative to the carrying of laptops and to the installation of displays in furniture, objects, and walls. In addition, the use of EDprojectors to augment reality without the use of goggles is examined and illustrated with examples.[13] XIA Xiaonan. The Control of the Temperature and Humidity of Temperature Box Based on Single Chip Microputer[D].2005,215(24):117118.Abstract: The hardware and software design of the temperature box controlling based on single chip microputer MCS51 are introduced in this paper. The control object of this system is a temperature box, and its control target is as following: The range of temperature is 3442C and its control accuracy is士1 C: The range of humidity is 60%75% and its control accuracy is士1%.The system not only has the function of controlling the temperature and humidity on the same time, and can reach the given control mark, but also has the characteristics of stable, precise and performance easily. The schemes and circuits of the measure and control of the temperature and humidity single are presented。 furthermore, the control scheme is discussed in detail and programming diagrams of the main and interrupt program are given.附錄C:主要源程序ORG 0000HLJMP MAINORG 000BHLJMP TIMER0MAIN:MOV TMOD,01H 。置CT0定時(shí)工作方式1MOV IE,82H 。CPU開中斷,CT0開中斷 MOV R5,0PLAY: MOV A,R5 MOV DPTR,TABLE1 MOVC A,@A+DPTR MOV R6,A INC R5 MOV A,R5 MOVC A,@A+DPTR MOV R7,A INC R5 MOV A,R5 MOVC A,@A+DPTR JNZ PLAY1 MOV R5,0 LJMP NEXTPLAY1: MOV B,3 MUL AB MOV R2,A MOV B,7 MOV A,R7 MUL AB ADD A,R6 DEC A MOV R6,A MOV DPTR,FREQH MOVC A,@A+DPTR MOV R4,A MOV DPTR,FREQL MOV A,R6 MOVC A,@A+DPTR MOV R3,A LCALL SONG 。調(diào)用音符播放程序INC R5SJMP PLAY 。轉(zhuǎn)入調(diào)用下一個(gè)音符OV R3,A MOV R5,00HNEXT:MOV A,R5 。R5存放取數(shù)的變地址MOV DPTR,TABLE 。DPTR置音高節(jié)拍表首地址MOVC A,@A+DPTR 。從音高節(jié)拍表取中取音高高位參數(shù)MOV R4,A 。R4存放音高高位參數(shù)INC R5MOV A,R5MOVC A,@A+DPTR 。從音高節(jié)拍表取中取音高低位參數(shù)MOV R3,A 。R3存放音高低位參數(shù)INC R5MOV A,R5MOVC A,@A+DPTR 。從音高節(jié)拍表取中取節(jié)拍參數(shù)JNZ NEXT1MOV R5,00HLJMP PLAY 。唱完后循環(huán)(節(jié)拍參數(shù)為00H表示歌曲結(jié)束)NEXT1:MOV R2,A 。R2存放節(jié)拍參數(shù)LCALL SONG 。調(diào)用音符播放程序INC R5SJMP NEXT 。轉(zhuǎn)入調(diào)用下一個(gè)音符SONG:MOV TH0,R4MOV TL0,R3SETB TR0 。啟動(dòng)CT0(開始唱某一音符)DELAY:MOV R1,85H 。節(jié)拍延時(shí)(即某一音符唱多長時(shí)間)DEL1:MOV R0,0FFHDEL0:NOPNOPNOPDJNZ R0,DEL0DJNZ R1,DEL1DJNZ R2,DELAYCLR TR0 。禁止CT0(某一音符唱完后停止)RETTIMER0: 。定時(shí)中斷程序(用于決定某一音符唱多高)CPL SPKMOV TH0,R4MOV TL0,R3RETITABLE: 。 音高節(jié)拍表,休止符用FFH,FFH,結(jié)束用節(jié)拍為00H表示DAT1: 。八月桂花香DB 18H, 30H, 1CH, 10H, 20H, 40H, 1CH, 10H , 18H, 10H, 20H, 10HDB 1CH, 10H, 18H, 40H, 1CH, 20H, 20H, 20H, 1CH, 20H, 18H, 20H DB 20H, 80H, 0FFH,20H, 30H, 1CH, 10H, 18H, 20H, 15H, 20H, 1CHDB 20H, 20H, 20H, 26H, 40H, 20H, 20H, 2BH, 20H, 26H, 20H, 20H , 20H, 30H, 80H, 0FFHDB 20H, 20H, 1CH, 10H, 18H, 10H, 20H, 20H, 26H, 20H, 2BH, 20HDB 30H, 20H, 2BH, 40H, 20H, 20H, 1CH, 10H, 18H, 10H, 20H, 20HDB 26H, 20H, 2BH, 20H, 30H, 20H, 2BH, 40H, 20H, 30H, 1CH, 10HDB 18H, 20H, 15H, 20H,1CH, 20H, 20H, 20H, 26H, 40H, 20H, 20H DB 2BH, 20H, 26H, 20H , 20H, 20H, 30H, 80H, 20H, 30H, 1CH, 10HDB 20H, 10H, 1CH, 10H, 20H, 20H, 26H, 20H, 2BH, 20H, 30H, 20HDB 2BH, 40H, 20H, 15H, 1FH, 05H, 20H, 10H, 1CH, 10H, 20H, 20HDB 26H, 20H, 2BH, 20H, 30H, 20H, 2BH, 40H, 20H, 30H, 1CH, 10HDB 18H, 20H, 15H, 20H, 1CH, 20H, 20H, 20H, 26H, 40H, 20H, 20HDB 2BH, 20H, 26H, 20H, 20H,