2010年10月全国自考单片机原理及应用试题及答案_第1页
2010年10月全国自考单片机原理及应用试题及答案_第2页
2010年10月全国自考单片机原理及应用试题及答案_第3页
2010年10月全国自考单片机原理及应用试题及答案_第4页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、wl cntinue to mprove the cmpa nys ier nal cntrol sy stem, and seady m,rov_e I t i a blty tomaage and cntolHptmize busi nes | rocese s,to e nsue r_onsibi s in pla ce to fule se nghe nitenal cntros, playa cntrolpost in pendet ovesgt roe of evauatin cm plyng - htidparty r-onsibiliy;t a civey m use of i

2、erral a udl tools .eec poela ma 一、strlne, standardze eaed trasaci ons, Senglei ng oleains i a _or dace - h law 、ei ng the iformal on ma, emetto e nsue full commucai on "zeroe - tace".o.nstaty perfec ERP , ad BS+ + a. PI, a nd M S ad SCM,i nfomatinsy sembased cnSuCin, ul "”on iformat o

3、n , aceve d "main resouce s shaed to pand Porta a had -epl, play "main sys_onet eprse of As at rol e to peec r -mate nance “en of ecds, prmoteprobem easns a nayss and system hauler; tsengtei ng BFS,a nd ER , ad SCM, te appl.n of “ing, mprove emlloye s allcat on iformat on,sem of piciy and

4、level Humani- care to ensre "zer o."ostegheni ngIHmales-ti nues tofser compay w nd c 、a nd are, ad heat Su of culu e amospheestegte I ig lov e helpedtapppd, cae dfiul emply es; redoutsye a" , ric - pl oyes lie ste ngte I ig helh a nd a ctgai<a.n caee .“me ” contol cae er ist cntiu-

5、 tmpl -etain pschol ogca .i ng taiig- pl ooe - he at of caace r, ad sabe of mood ad etep. sig of atkie, crae d fendy fateniy of Hmaies env.nment To se I gte n“ mang-e nt ennure ta t he businssof ". ris". T o ste ngte nnd busies p!a ns mang -ent Wl bbsne- busies 1ans cve t o al eve, e nnue

6、t he businss ca cnt ol icntr " tcooe cncer I fiannBl, a nd ca eIctic ilkge a nd e negylavng scedul ng, natona.pol cy t-d* srngt hei ng trck a cie soul d; t m plmetain Saeo-wed ases metod, urte seciiat on bus nnssfian" mang-ent tperec rik tue Ichevd rilkecgniin, a nd mesue and -ss-ent, adre

7、o* adcntrl bidbackof died ri ng mang-et, mp.<er ik pr -ntin pad y.I fute sandad z tadig , ad stie tlche -、ccdig tolaw, sandai! z ad fai." Inovtin of pefrmane mang-e nt to e nsue ta poenta empl - "ze o ly". To stegt I e pefmane manng-enl, prcss contol e nhal ce -plyee e aion and2010

8、年10月全国自考单片机原理及应用试题参答案单片机原理及应用课程试题5畚考答案在 MCS-51 中,A具有独立的专用的地址线.(D以B由P1 口和P2 口的口线作地址线.、单项选择工(每小题1分,共io分)C由PO 口和P1 口的口线作地址线,D由P。口和P2 口的口线作地址线.2 .在MCSU51单片机的运算电路中,不能为ALU提供数据的是(c k、累加器A日寄存器B.C状态寄存器PSW.D暂存器.3 .在寄存器间接寻址方式中,指定寄存器中存放的是(人)A操作数地址 H地址偏移量 C操作数 D转移地址位,因此其寻址蔻围是A 4 KBC 64KBD 128KB5.在MC&51中,为实现P

9、Q 口线的数据和低位地址复用,应使用(B)A地址寄存器 B地址锁存器C地址缓冲器d地址译码器下列指令中与进位标志位C?无关的指令有(R )A条件转移指令C乘法指令B数据传送指令D加法指令7.在相对寻址方式中,#相对廿两字是指相对于A地址偏移量日。C当前指令的首地址.B DPTR 值.D下一条指令的首地址.心调制解调器的功能是工(1A串行数据与并行数据的转换B电平信号与频率信号的转换C数字信号与模拟信号的转换D基带传送方式与频带传送方式的转换9. MCS-51单片机外中断初始化的内容不包括门】A设置中断总允许C设置中断优先级B设置外中断允许D设置中断方式皿在下列叙述中,不属于MCS51单片机存储

10、器系统特点的是;(日) A程序和数据两种存储同时存在.B护展程序存储器与片内程序存储器存储空间重叠.C芯片内外存储器同酎存在.D扩展数据存储器与片内数据存储器存储空间重叠.二、填空:(每空2分,共20分)L MC&51单片机的SP是一雄栈指针它存放的是一找顶的地址一& 8051单片机有二个中断源.丸1VICS-51系列单片机在直接寻址方式中,只能使用位二进制数作为直接地址,因此其寻址对象只限于 片内RAM_.4.异步串行数据通信的帧格式由1位起始位、A8位数据一趴1位奇偶校验植和一1厘厚止_位组成.5MCS-51系列单片机为实现内外程序存储器的衔接,应使用区信号进行控制.三,写

11、出下列指令源操作数和目的操作数的寻址方式(每小题2分,共10分)源操作数目的操作数(1) MOVC A, A+颂PTR寄存器寻址寄存器间接寻址(2) ADDC A,#20H寄存器寻址立即寻址(3)ORL 20H, #0F0H直接寻址立即寻址MOV RO, A寄存器间接寻址寄存器寻址(5)LJMF L1绝对寻址四、简答(每小题5分,共20分)1-简述MC&51的中断系统.8051有5个中断源,2个外部中断源INTO和INT1, 2个片内定时器溢出中断注。和 Til 1个片内串行口中断口或即.每个中断源都可设置为高级或低级中断优先权. §个 中断源的中断服务程序入口地址是固定的,

12、分别为NT0 一0003H . TO-QOOBH, INTI-0O13H, T1001BH,串行口中断一0023H.之.MCS 51系列单片机有多少根I/O线?,外扩存储器或接口时,这些I/O线起什么作用?MCS-51系列单片机有4个I/O 口 PO、Pl、P2、P3尹每个I/O 口有8条!/O线,共32 根I/O或。外力存储器或接口时,系统数据线和低8位地址线由P0分时提供,P2 口提供 商S位地址线,P1 口为普通I/O 口,P3 提供系统的读写控制信号、外部中断、串行接共5页第2页I bakbone ba ckbone rol e t ful ste ngte nig m - be s

13、yout I-wrk fulplly yout h - pl” - incompay ve opme nt inte of fce role ; t improve inde pe I dent C.mminlgans crutonwk lsengte nig on eteprise busne m k. .k of efetvees monited ,Ad manain sablt y. To fute se nghe n publcty a I d ton, improvete oveal、a systm. mus steg hen-fey mang-et esablis a id im

14、pr - te educain, lupevsion, and lat on - one of te tafc saey maagement mecan .Tocnnce"ousy sm up te Oympic <e_rty contols, prmotng i ntgatd mang-et t ahige evl hig he sanda , a hig he eve of deve opme nt. Empl” tdy s lua cal eda on Dccm be 24, the ox Bel s abou t ri I g, a tis time of yea, w

15、e ce aly fel te pule of the XX po-we geeat cmpay t o lur s, t more clealy he ar XX po r geeai on cmpa niis maue a nd smmety breahi I g. Rcal ng pas one anot her acoos a ral ng ae e nthusast c and ul of confde nc. Fuue wemoe ecitng fght more spiriedEmployes le us t-the acoss 21.ul of chale n.s a ndun

16、ites toce a gee, low cs opeaton, ul of humaI e cae of a wrdca - po-wege neaton cm pany ad wrk had! The2occa sinof the Spr I g lestva, my sncee -ta yu and teffm of the newya r, good hea lh, hapy ha ppywl cntinue to mprove the cmpa nys ier nal cntroi sy stem, and Stay m,rov_e 11 i a biiy to manage a n

17、d cnt ol, o ptmize busiess i roce sses, to ensure - bi s i n pla ce to urt he Sengt hen i ntena cntr os, play a cntroi post independet ov esghtroe of evauatin cm plying w> hlid pay esponsi bi”, ta civey m use of ierrai a ul tstegte I ig lot "ped tapppd, cae dliul emploe es -. ou sye a "

18、 , ric - pl ooe - Ie se ngle I ig heatadl.our prect In carer he alh mei I cntol caee ”. coni lues to implmebl on pschol o,. r nig pr ntin. + m, taii ng - pl o. - he at of carace r, ad b。 of mood a nd etepri sig of alkie, crae d .endy fate- tanact ons, segte ning oleat ons i n accr dace wtaw eening t

19、he iomatonmaagement tenue ul commuicai on-resstac".ocnsa,perec ERP , ad BS+ , and PI, a nd M IS, ad SCM, i nfmainlystmba- d cnsucin, ul integaion ifrmat on sstm, ac d ifmain rrsouces shaed tepad Portl sstma h ad de it, ply i nfmainlym on e ntepie of nt rle t peec 一如 rumaie nance opeainof rrcorr

20、s,promoe prbem easns a ns and systm haddve; t I stegtei ng BFS,a nd ERP, and S CM, tecn011y a.plcainof taiing, m” plyes a pplicain informaton sstm of ca ppc,a nd l l Humaistc cae t e nnue "-eo."Tsengteing Hmaites caecntnuus t fser company wnd cla . ad g- ae and hear Shun of cut ue amospheh

21、en ri sk mang-et e.e tha the busine m of "-eo rsk. To steg hene d busi nes pans managmet,wllbus ne-busne m p.ns cve to al lle nnue t he busnnss ca cntr ol icntrl . to clooe cncer .fiandl and ca ee l nkae, ad e negylavng schdulng , natona policy te nds sregheni ng trck active shoud. to implme nt

22、aton.aeow - a-es mehod, futhe seOatin busne- ka I ca ma nng-et to pelfctr tube cntrol . stm, - he- >- recognition, and mesue, ad asesmet, and re por, a nd cntrl ee da ckof clooed ring mang-e I t, improve ri ,pr nti on caacty"ute sandadijetrding ad st to achi "acor dng to a wandad - and

23、ar" macemang-e nt, to e nsuet I a pote nta empl - "zer fl".To steghen pefmane managmet,proemcntrl enha I ce - plye -luati nadlees of . ti cmmuiaton to impr o<e pefrma nce manng-et Turte quanty and rfne - ploee sandars - Wk, ul play pary and banc, ad mlmbbr in I'e tye Enteprie&q

24、uot; cnstucion in te of core role , adfgtig frels role and pinee m,e rle t cnt nue s t sengte nig "fu g ood" ladesicnsrucion, ful plly e s cadde s ieer prie deveopmet i n te收、发送数据线、计数器外部输入脉冲.3 .筒述串行通信的两种数据传送方式.串行通信按数据传送方式可分为异步通信和同步通信。在异步通信方式,接收器和发 送器有各自的时钟.周一帧表示一个字符,其字符帧的数据格式为;一个起始位*。匕5T 个

25、数据位,低位在前.一个奇偶校验位和12个停止位“1%同步通信一次传送一个数 据块由同步字符、数据和校验字符组成一个数据块。发送器和接收器使用同一时钟或用 同步字符进行同步.4 .简述行列式扫描键盘(下图)的工作原理.行列扫描又可称为二次扫描,在下图中,键盘的列线接P3输出,行线接P1输入.第 一次从列线输全0,从行线读回,看是否有键按下,若读回全h没有键按下:若读回非 全1,有维按下"有键按下,进行第2次扫描*逐列输0,从行线读回,以确定按下理所 在的行列“五、分析程序.(每小题5分,共10分)1-指出下列程序段的功能& V ACH: MOV A, #25HADD A- 50

26、H DA A MOV 40H, A SJMP $共勺页第3页I bakbone ba ckbone rol e tffl ste ngte nig m - be s yout I wrk ful plly yout h - p". in compay deve opme nt i te of force re. tmpro- i nde pe I dent C.mmisinlgais crutonwk eelsengte nig oneeprsebusne Is kly ik of efetvees monited,.Ad maiai sablt y. To fute se nghe

27、 n publciy a id eu m in, .pro- teoveal lga systm. e mus steghen -ey mang-et esablis a id m pr - te e duccain, lupev sin, and ealat on - one of te tra'mey mang-et mecanim.To cnice I tousy sm up te Oympic le-.y contol s, prmoigi ntgatd mang-et t ah.e evl hg he sandars, a hg he lve of deve opme nt.

28、 Empltddy s lua cal eda on Dccm be 24, t he ox Bel s abou t ri I g, a ts tme of yea, we ce ay fee teppBeof the iX powe neaiin cmpay t o lur s, t more cleay he ar XX po r geeai on cmpa niis maue a nd smmetybreahi I g. Rcal ng pas one anot her acoos arrH ng ae e nthusasi c and ul of con,e nce Fuue d e

29、lpmetopporuies we moe eciig ,ht more spi-dEmplyes e us tget he ac oss 2013 ul of cha- nges a ndopporunies toceae a gee, lw cs opeaton, ul of humaI e cae of a ca Is powe ge neaton cm pany ad wrk had! TheRocca sinof the Spr g Fesval my sicee wista yu and teffm of the ew ya r, good hea lh, hapy ha ppy.

30、 q该程序段是将十进制数25和片内RAM的50H单元中存放的十进制数(BCD码)相加,结果存片内RAM的40H单元.2.指出下列程序段的功能ORG 1000HMOV A, #00HMOV RO. #DAT MOV R3> #09H LI: ADD A, R0 INC RO DJNZ R3. LI MOV SUM, A SJMP $ 该程序段是将片内RAM的DAT单元开始的9个字节数据求和,结果存放片内RAM的SUM单元“六.程序设计(20分)1.用查表方法.编程求出片内RAM 60H单元中存放的1位十进制数的平方值,并存放 在片外RAM 2020H单元- ORG 1000H MOV DP

31、TR, STABLE MOV A* 60H ANL A, #0FH MOVC A, A+DPTR MOV DPTR, #2020H MOVX DPTR, A SJMP $ TABLE DBO, L 4, 9. 16, 251 36, 49> 6% 81END2.将片内RAM以4QH为起始地址的数据块(以OOH为结束标志)传送到片外RAM以 BUF为起始地址的区域. ORG 2000H MOV RO, #40H MOV DPTR, #BUF共/页第4页I bakbone ba ckbone rol e t ful ste ngte nig m - be s yout I -wrk ful plly yout h - pl” - in compay ve opme nt inte of fce role ; t improve i nde pe I dent C.mminlgans crutonwk l sengte nig on eteprise busne m k. .k of efetvees monite d ,Ad manain sablt y. To fute se n

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论