自测试题三及参考答案
三级考试题及答案

三级考试题及答案一、选择题(每题2分,共20分)1. 下列哪个选项是正确的英语表达?A. I have a lot of works to do.B. I have a lot of work to do.C. I have a lot of works to do it.D. I have a lot of work to do it.答案:B2. 以下哪个单词的拼写是错误的?A. AccommodationB. AcquaintenceC. RecieveD. Conscience答案:C3. 以下哪个句子的语法是正确的?A. She don't like to travel alone.B. She doesn't like to travel alone.C. She don't likes to travel alone.D. She doesn't likes to travel alone.答案:B4. 以下哪个短语的意思是“打破沉默”?A. Break the iceB. Break the recordC. Break the newsD. Break the promise答案:A5. 以下哪个单词的意思是“预测”?A. ForecastB. ForecastingC. ForetellD. Foretelling答案:C6. 以下哪个句子使用了正确的比较级形式?A. She is more taller than her sister.B. She is taller than her sister.C. She is more taller than her sister.D. She is more tall than her sister. 答案:B7. 以下哪个短语的意思是“克服困难”?A. Overcome difficultiesB. Overcome the difficultiesC. Over the difficultiesD. Overcome difficulties答案:A8. 以下哪个单词的拼写是正确的?A. DefinatelyB. DefinitelyC. DefinatlyD. Definately答案:B9. 以下哪个句子的时态使用是正确的?A. I am going to the store yesterday.B. I went to the store yesterday.C. I go to the store yesterday.D. I will go to the store yesterday.答案:B10. 以下哪个选项是正确的英语表达?A. He is the most honest of all the boys.B. He is honester than all the other boys.C. He is more honest than any other boy.D. He is the honestest of all the boys.答案:C二、填空题(每题2分,共20分)11. The ________ (重要) of the meeting was discussed at the beginning.答案:importance12. She is a ________ (天生的) singer and has a beautiful voice.答案:natural13. The ________ (结果) of the experiment was surprising.答案:outcome14. The ________ (计划) of the trip was changed due to bad weather.答案:schedule15. He is a ________ (熟练的) driver and can drive in any condition.答案:skilled16. The ________ (目的) of the project is to improve the environment.答案:objective17. The ________ (影响) of the policy on the economy was significant.答案:impact18. The ________ (原因) for his absence was not clear.答案:reason19. The ________ (细节) of the contract need to be reviewed. 答案:clauses20. The ________ (过程) of the negotiation was long and difficult.答案:process三、阅读理解题(每题3分,共30分)阅读以下短文,并回答问题。
国家三级英语试题及答案

国家三级英语试题及答案一、听力理解(共20分)1. What is the man going to do this evening?A. Go to a movieB. Attend a lectureC. Visit a friendD. Do some shopping2. How much did the woman pay for the coat?A. $50B. $80C. $120D. $1803. What time does the train leave?A. At 6:00 a.m.B. At 8:00 a.m.C. At 10:00 a.m.D. At 12:00 p.m.4. Where are the speakers?A. In a libraryB. In a bookstoreC. In a classroomD. In a museum5. What does the woman mean?A. She needs to buy a new computer.B. She doesn't like the color of the computer.C. She's happy with the computer she has.D. She's not interested in computers.二、阅读理解(共30分)Passage 1In recent years, there has been a growing interest in the study of environmental science. The article discusses the importance of protecting the environment and the steps that individuals can take to reduce their carbon footprint.6. What is the main topic of the passage?A. Environmental scienceB. Carbon footprintC. Individual responsibilityD. Environmental protection7. According to the passage, what can individuals do to help the environment?A. Use public transportationB. Plant more treesC. Reduce wasteD. All of the abovePassage 2The passage describes the history and development of a small town. It highlights the changes that have occurred over the years and the impact these changes have had on the community.8. What is the purpose of the passage?A. To describe the town's historyB. To discuss the town's developmentC. To compare the town's past and presentD. To analyze the impact of changes on the community9. Which of the following is NOT mentioned in the passage asa change in the town?A. New buildingsB. Improved transportationC. Increased populationD. Decreased crime rate三、词汇与语法(共20分)10. The weather turned out to be very good, so we decided to have a picnic ________.A. on purposeB. by accidentC. in personD. on time11. She is a ________ woman who always speaks her mind.A. directB. indirectC. immediateD. immediate12. The children were playing in the park, ________ they suddenly heard a loud noise.A. whenB. whileC. asD. since13. The teacher asked the students to ________ the book to the end before discussing it in class.A. read throughB. go throughC. look throughD. get through14. It's important to ________ your hands before eating.A. washB. cleanC. wipeD. scrub四、写作(共30分)15. Write an essay on the topic "The Role of Technology in Modern Education." You should write at least 120 words. Use your own experiences and examples to support your points.听力理解答案:1. B2. C3. A4. D5. C阅读理解答案:6. D7. D8. D9. D词汇与语法答案:10. B11. A12. A13. A14. A写作部分无固定答案,需根据考生的实际作文内容进行评分。
(完整版)三级教育考试试卷答案

(完整版)三级教育考试试卷答案一、选择题(每题2分,共40分)1. 以下哪项不是三级教育的主要内容?A. 安全生产法律、法规B. 安全生产规章制度C. 安全生产技术知识D. 企业文化建设答案:D2. 三级教育考试的对象是?A. 企业全体员工B. 企业安全管理人员C. 企业新入职员工D. 企业特种作业人员答案:C3. 安全生产教育的目的是?A. 提高员工的安全意识B. 预防事故的发生C. 提高企业的安全生产水平D. A、B、C都是答案:D4. 以下哪项不属于安全生产教育的方法?A. 班前会B. 安全生产培训C. 安全生产考核D. 安全生产知识竞赛答案:C5. 安全生产教育的三级分别是?A. 企业级、部门级、班组级B. 企业级、车间级、班组级C. 公司级、部门级、车间级D. 公司级、车间级、班组级答案:B6. 安全生产教育的重点对象是?A. 企业全体员工B. 企业新入职员工C. 企业特种作业人员D. 企业安全管理人员答案:C7. 安全生产教育的原则是?A. 理论与实践相结合B. 教育与考核相结合C. 教育与实际工作相结合D. A、B、C都是答案:D8. 安全生产教育的核心内容是?A. 安全生产法律、法规B. 安全生产规章制度C. 安全生产技术知识D. 安全生产管理答案:C9. 安全生产教育的目的是?A. 提高员工的安全意识B. 预防事故的发生C. 提高企业的安全生产水平D. A、B、C都是答案:D10. 安全生产教育的任务是?A. 传授安全生产知识B. 培养员工的安全技能C. 增强员工的安全意识D. A、B、C都是答案:D二、判断题(每题2分,共20分)1. 安全生产教育是企业管理的一项重要内容。
()答案:正确2. 三级教育考试不合格的员工可以上岗作业。
()答案:错误3. 安全生产教育可以提高员工的安全意识,降低事故发生率。
()答案:正确4. 安全生产教育不需要定期进行,只需在入职时进行一次即可。
()答案:错误5. 安全生产教育的重点对象是企业全体员工。
家政服务员三级测试题与参考答案

家政服务员三级测试题与参考答案一、单选题(共48题,每题1分,共48分)1.使用Word提供的“恢复”功能时,快捷键是。
A、Ctrl+XB、Ctrl+YC、Ctrl+VD、Ctrl+Z正确答案:B2.是要带领求职者群体到某类专业或岗位、工种的实际工作环境进行观摩。
A、群体面授指导B、个体面谈指导C、影视资料观摩指导D、现实场景观摩指导正确答案:D3.家政服务员倒饮料、酒水时应用右手在客人的 _进行。
A、左侧B、右侧C、后边D、前边正确答案:B4.中常用灌肠制品腌肉制品,德国人有食肉冠军的称号。
A、德式西餐B、美式西餐C、法式西餐D、英式西餐正确答案:A5.出席宴会应正点或提前到达。
A、2~3小时B、20~30分钟C、2~3分钟D、30~45分钟正确答案:C6.问路时,要先用_ _然后再问路。
A、How far is it from here?B、Excuse me.C、How much is it?D、May I help you?正确答案:B7.就是选用各种造型的花瓶,注入清水,将鲜花插人瓶中,这种形式主要家庭装饰。
A、瓶插B、花篮C、花束D、盆插正确答案:A8.与美国人交往时,不要在周五或号约会。
A、3B、13C、15D、23正确答案:B9.下面的语句中,不是用于询问病情的是。
A、Which is the way to…?B、What's the trouble with you?C、What's matter with you?D、What's wrong with you?正确答案:A10.研磨好的咖啡粉在常温下只能放置左右。
A、一个小时B、3天C、一个星期D、一个月正确答案:B11.具有免付费、使用方便等特点,是人们使用较为广泛的一种通信方式。
A、收件人B、免费邮箱C、收费邮箱D、发件人正确答案:B12.素以丰盛实惠、朴实无华著称。
A、法式西餐B、英式西餐C、美式西餐D、德式菜肴正确答案:D13.__就是指在花盆里进行插花的一种形式。
国家开放大学《人文英语2》单元自测3试题答案

国家开放大学《人文英语2》单元自测3试题答案一、选择填空题(每题10分,共5题)(答案在最后)题目:— Can I ask you for some questions, Frank?—_______________ .: No, I'm very busy.; Sure, go ahead; You can ask other people.题目:— I have a toothache.—__________ .: Don't worry about it.; It's not serious.; Why don't you go to the dentist?题目:— I'd like to invite you to my birthday party on Saturday evening.—___________ .: I don't want to join your party.; It's none of your business; Thank you for your invitation. I'm very happy to join the party.题目:— What presents should I take to my friend for his house-warming party, Tom? —______________ .: I advise a handy DIY tool box, which he can use in daily life.; It's up to you.; That's a good thing.题目:All of these presents _________ good to me.: hear; listen; sound题目:At the presentation, there will be several students _______ recognition awards from the headmaster.: received; receiving; to receive题目:He refused _______ my suggestions.: accepted; accepting; to accept题目:I'm ______ because there are so many options. I can't make a decision.: depressed; excited; puzzled题目:Many students at the school _______ on a project which relates to the unemployment problem.: have been working; have worked; worked题目:There are a lot of _______for presents for birthday party.: options; remarks; statements题目:We look forward to ______ to his wedding ceremony.: came; come; coming题目:We will invite Professor Johnson to ______ our conference next Monday.: attend; intend; visit题目:—Would you be interested in coming to the cinema with me tonight?—__________ .: No, I don't like being with you.; No,I have other plans.; That's very kind of you. Thanks.题目:You can _____ some bottles of wine, or some chocolates, or a bunch of flowers. : bring along; bring down; bring up题目:You make the reservation, and I'll _______it in writing.: affirm; confirm; convince二、英译汉:为句子选择正确的翻译。
英语三级试卷及答案

英语三级试卷及答案英语三级试卷及答案英语是我们世界上通用的语言,我们一定要好好的学习掌握,给未来打下一个基础。
下面是小编整理收集的英语三级试卷及答案,欢迎阅读参考!Directions:Read the following text. Choose the best word or phrase for each numbered blank and mark A, B, C or D on ANSWER SHEET 1.TextIf you are worried about things and are under a lot of stress at work or school, then you are probably not sleeping well. Worry can keep you awake, tossing and26 in bed until the early hours of the morning when you eventually27 asleep. When you wake up, you don’t feel28 , but tired and worn out and 29 to face a new day.Dr. Henry Winkle, in a recent newspaper article 30 Stress and Sleep, 31 that stress and lack of sleep are directly 32Dr. Winkle says, "the more we worry, the 33 we sleep, the more we are unable to deal with 34 " "If we can find a way to get a good night’ s sleep," he35 ," we can often find the 36 to deal with what’s worrying us. "So, what is a good night’ s sleep? Research shows that the amount of sleep which people need in order to keep healthy 37 a lot. Seven hours is about the average amount, 38 strangely enough, sleeping longer often gives you a headache 39 of making you feel more refreshed.Dr. Winkle believes that preparing for sleeping is important. People who work late should try to give themselves a short 40and do something restful before going to bed. This could be watching TV or listening to music. Doing some exercise 41 in the day should help you to feel physically as well as 42 tired. A bedtime drink can also help, but coffee or tea should be avoided as they contain caffeine( 咖啡因 ) and will keep you 43"When you put the light 44 ," Dr. Winkle says, "concentrate on relaxing your muscles. Working slowly up from your feet, and you’ll be asleep 45 .you know it. "26. [ A ] turning [ B ] rolling [ C ] twisting [ D ] rotating27. [ A ] find [ B ] feel [ C ] drop [ D ] fall28. [ A ] relieved [ B ] renewed [ C ] refreshed [ D ] released29. [ A ] impossible [ B ] unable [ C ] powerless [ D ] incapable30. [ A ] titled [ B ] labeled [ C ] entitled [ D ] named31. [ A ] implies [ B ] suggests [ C ] proposes [ D ] indicates32. [ A ] related [ B ] tied [ C ] combined [ D ] put together33. [ A ] more [ B ] less [ C ] shorter [ D ] later34. [ A ] nervousness[ B ] anxiety [ C ] stress [ D ] tension35. [ A ] enhances [ B ] attaches [ C ] s [ D ] adds36. [ A ] power [ B ] energy [ C ] vigor [ D ] force37. [ A ] varies [ B ] differs [ C ] alters [ D ] contrasts38. [ A ] nevertheless [ B ] since [ C ] though [ D ] however39. [ A ] because [ B ] spite [ C ] despite [ D ] instead40. [ A ] pause [ B ] break [ C ] vacation [ D ] interruption41. [ A ] earlier [ B ] early [ C ] previously [ D ] sooner42. [ A ] spiritually[ B ] consciously[ C ] mentally [ D ] emotionally43. [ A ] asleep [ B ] awake [ C ] alert [ D ] active44. [ A ] out [ B ] on [ C ] away [ D ] off45. [ A ] as soon as [ B ] when [ C ] before [ D ] after参考译文如果你正为某些事情担心或是在工作上、学业中承受着很大的压力,你极有可能睡得不好。
2022年国家职业资格考试《三级保育员》自我检测试卷 附答案

单位 学校 姓名 准考证号 ………密……….…………封…………………线…………………内……..………………不……………………. 准…………………答…. …………题…2022年国家职业资格考试《三级保育员》自我检测试卷 附答案 考试须知:1、考试时间:120分钟,本卷满分为100分。
2、请首先按要求在试卷的指定位置填写您的姓名、准考证号和所在单位的名称。
3、请仔细阅读各种题目的回答要求,在规定的位置填写您的答案。
4、不要在试卷上乱写乱画,请在密封线内答题,否则不予评分。
单选题(本题共25小题,每题1分,共25分)1、直觉行动思维又叫做手和( )。
A .行动思维B .眼的思维C .动作思维D .直接思维 2、电击伤,下列哪项是错误的( )。
A 、立即脱离电源B 、立即关闭电源C 、用木棒等非导电物将电源分离D 、雷雨可在树下、高层建筑下避雨 3、( )是幼儿园的隔离制度主要包括的基本措施之一。
A .对幼儿隔离B .对可疑患儿应进行临时隔离C .喝生理盐水D .对可疑患儿临时放在班上 4、保育员在做记录时应该描述儿童的行为表现.而不是( )。
A.记录儿童的行为表现 B.描述全班儿童的活动情况 C.记录教师的教育情况 D.解释儿童的行为表现5、教育( )是幼儿气管呛人异物的预防与处理的措施之一。
A .婴幼儿在哭闹时,少吃东西 B .少说话C .婴幼儿在哭闹时,不要让其吃东D .婴幼儿少躺在床上吃饭 6、保育员要( ),恰当有效地选择教学方式和方法,直观形象地展示教学内容。
A .做好幼儿教育工作 B.熟练掌握现代教育技术 C .为人师表,遵纪守法 D.积极进取,开括创新 7、幼儿乳牙有多少颗?( )。
A 、20颗 B 、24颗 C 、32颗8、( )我国恢复和建立了各级学前教育组织机构,颁布和制定了一系列关于学前教育的指导性文件和法律、法规。
A .文革期间B .十一届三中全会以后C .解放后D .进,20世纪90年代以来 9、在教育基本要素都具备的条件下,教育者的( )起着决定性的作用。
计算机三级考试数据库技术自测试题

计算机三级考试数据库技术自测试题计算机三级考试数据库技术考核的是数据库系统基础知识及数据库应用系统项目开发和维护的基本技能。
下面是计算机三级考试数据库技术自测试题,一起来看一下吧。
1).下面关于查询描述正确的是()A.可以使用CREATEVIEW打开查询设计器B.使用查询设计器可以生成所有的SQL查询语句C.使用查询设计器生成的SQL语句存盘后将存放在扩展名为QPR 的文件中D.使用DO语句执行查询时,可以不带扩展名正确答案:C2).数据库性能优化是数据库应用系统上线后最常见的运行维护任务之一。
下列有关数据库性能优化的说法,错误的是()A.数据库性能优化和数据库的外部环境有很大关系,如果外部环境出现瓶颈,单独对数据库进行调整很难取得较好效果B.在数据库性能优化期间可能对原有符合范式的关系转为不符合范式的关系C.物化视图将会预先计算并保存耗时操作的结果,可大幅度提高查询效率,但是物化视图必须人工手动刷新D.存储过程在执行期间不需要重新编译,可以在一定程度上提高运行效率,但是其与数据库管理系统绑定,更换数据库管理系统时需要重新编写正确答案:C答案解析:数据库性能优化和数据库的外部环境有很大关系,例如在网络带宽过窄的情况下导致数据库速度访问缓慢时,则单独对数据库本身优化无法取得很好的效果;物化视图是预先计算并保存表连接或聚集等耗时较多的操作结果,这样,在执行查询时大大提高了读取速度。
物化视图有很多方面和索引很相似:使用物化视图的目的是为了提高查询性能;物化视图对应用透明,增加和删除物化视图不会影响应用程序中SQL语句的正确性和有效性,物化视图需要占用存储空间,当基表发生变化时,物化视图可以手动刷新也可以定时自动刷新;存储过程是相当于加载到数据库上的模块,因此再次运行时不用重新编译,但其与数据库管理系统绑定,因此如果在更改数据库管理系统时,需要重新绑定存储过程。
在数据库性能优化期间有可能改动原有的符合范式。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
单片机自测试题三
一、单项选择题(30分)
1.在中断服务程序中至少应有一条( D)
A.传送指令
B.转移指令
C.加法指令
D.中断返回指令
2.当MCS-51复位时,下面说法准确的是(A )
=0000H =00H =00H D.(30H)=00H
3.要用传送指令访问MCS-51片外RAM,它的指令操作码助记符是(B )
D.以上都行
4.ORG 2000H
LACLL 3000H
ORG 3000H
RET
上边程序执行完RET指令后,PC=( C)
5.要使MCS-51能响应定时器T1中断,串行接口中断,它的中断允许寄存器IE的内容应是(A)
6.JNZ REL指令的寻址方式是(C )
A.立即寻址
B.寄存器寻址
C.相对寻址
D.位寻址
7.执行LACLL 4000H指令时, MCS-51所完成的操作是(D )
A保护PCB.4000H→PC C.保护现场 +3入栈, 4000H→PC
8.下面哪条指令产生WR信号( D )
A,@DPTR A,@A+PC
A,@A+DPTR @DPTR,A
9.若某存储器芯片地址线为12根,那么它的存储容量为(C )
A. 1KB
B. 2KB
INT引脚上的一个正脉冲宽度,则TMOD的内容应为(A )
10.要想测量0
=18H时,则当前工作寄存器是( D )
组 B. 1组 C. 2组 D. 3组
A,@DPTR指令中源操作数的寻址方式是( B )
A. 寄存器寻址
B. 寄存器间接寻址
C.直接寻址
D. 立即寻址
13. MCS-51有中断源( A )
B. 2
C. 3
D. 6
14. MCS-51上电复位后,SP的内容应为( B )
0003H
LJMP 2000H
ORG 000BH
LJMP 3000H
当CPU响应外部中断0后,PC的值是( B)
16.控制串行口工作方式的寄存器是(C )
17.执行PUSH ACC指令, MCS-51完成的操作是(A )
+1→SP, ACC→SP B. ACC→SP, SP-1→SP
C. SP-1→SP, ACC→SP
D. ACC→SP, SP+1→SP
口的每一位能驱动(B )
个TTL低电平负载 B. 4个TTL低电平负载
个TTL低电平负载个TTL低电平负载
中存放的是(A )
A.下一条指令的地址
B. 当前正在执行的指令
C.当前正在执行指令的地址
D.下一条要执行的指令
是( C )
B.微处理器
C.单片微机
D.控制器
21.要把P0口高4位变0,低4位不变,应使用指令( D )
P0,#0FH P0,#0F0H P0,#0F0H P0,#0FH
22.下面哪种外设是输出设备( A )
A.打印机
B.纸带读出机
C.键盘 D转换器
23.所谓CPU 是指( A )
A.运算器和控制器
B.运算器和存储器
C.输入输出设备
D. 控制器和存储器 指令操作码地址是2000H,执行完响应子程序返回指令后,PC=( D )
25. MCS-51执行完MOV A,#08H 后,PSW 的哪一位被置位( D ) B. 0 C
26.计算机在使用中断方式与外界交换信息时,保护现场的工作应该是( C ) A.由CPU 自动完成 B.在中断响应中完成 C.应由中断服务程序完成 D.在主程序中完成 27.关于MCS-51的堆栈操作,正确的说法是( C )
A.先入栈,再修改栈指针
B.先修改栈指针,再出栈
C.先修改栈指针,在入栈
D.以上都不对
28.某种存储器芯片是8KB*4/片,那么它的地址线根数是( C ) 根 根 C. 13根 D. 14根
29.若MCS-51中断源都编程为同级,当他们同时申请中断时CPU 首先响应( B ) A.1INT B. 0INT
30. MCS-51的相对转移指令的最大负跳变距离( B ) B. 128B C. 127B D. 256B
二、判断题(10分)
1.我们所说的计算机实质上是计算机的硬件系统和软件系统的总称。
( T ) 2.MCS-51的程序存储器只能用来存放程序。
( F ) 3.TMOD 中GATE=1时,表示由两个信号控制定时器的启停。
( T ) 4.当MCS-51上电复位时,堆栈指针SP=00H 。
( F ) 5.MCS-51的串口是全双工的。
( T ) 6.MCS-51的特殊功能寄存器分布在60H~80H 地址范围内。
( F ) 7.相对寻址方式中,“相对”两字是相对于当前指令的首地址。
(F ) 8.各中断源发出的中断请求信号,都会标记在MCS-51系统中的TCON 中。
( F ) 9.必须进行十进制调整的十进制运算只有加法和减法。
(F )
10.执行返回指令时,返回的断点是调用指令的首地址。
(F )
三、计算题(22分)
1.(A )=3BH ,执行ANL A ,#9EH 指令后,(A )=( 1AH )(CY )=( 不受影响 ) 2.JNZ REL 为2B 指令,放于1308H ,转移目标地址是134AH ,求偏移量REL=40H 3.若(A )=C3H ,(R0)=AAH ,执行ADD A ,R0后,(A )=(6DH )(CY )=( 1 ) (OV )=( 1 )(AC )=(0 )
4.若(A )=50H ,(B )=A0H ,执行MUL AB 后,(A )=( 00H )(B )=( 32H ) (CY )=(总为0 )(OV )=( 1 )
5.SJMP 0E7H 为2B 指令,放于F010H ,目标地址=( EFF9H )
四、阅读并分析程序(28分)
1.2506H M5:MOV SP ,#58H 2509H MOV 10H ,#0FH 250CH MOV 11H ,#0BH
250FH ACALL XHD ;PC+2→PC , 7~015~810~01,1,SP SP PC SP SP SP PC SP addr PC +→→⎧⎫⎪⎪+→→⎨⎬⎪⎪
→⎩⎭
MOV 20H ,11H
2514H M5A :SJMP M5A XHD :PUSH 10H PUSH 11H POP 10H POP 11H RET 问:(1)执行POP 10H 后堆栈内容 解:(SP )=5AH
(2)执行M5A :SJMP M5A 后,(SP )= 58H (20H )= 0FH
2.A程序存储空间表格如下:
已知:片内RAM的20H中为01H,执行下列程序后(30H)=
MOV A,20H
INC A
MOV DPTR,#2000H
MOVC A,@A+DPTR
CPL A
MOV 30H,A
SJMP $
解:(30H)=5BH
3.(R0)=4BH,(A)=84H,片内RAM(4BH)=7FH,(40)=20H
MOV A,@R0
MOV @R0,40H
MOV 40H,A
MOV R0,#35H
问执行程序后,R0= A= 4BH= 40H=
解:问执行程序后,R0= 35H A= 7FH 4BH=20H 40H=7FH
4.若PSW=00, 执行下列程序后,PSW的各位状态如何
MOV A,#0FBH
MOV PSW,#10H
ADD A,#7FH
五、程序填空(10分)
1.数据块传送,将RAM从30H开始的连续32个单元的内容传递给片内RAM从60H开始的连续32个单元。
ORG 1000H
MOV R7,__ #20H___
MOV R0, #30H
MOV R1,#60H
LOOP:MOV A,@R0
MOV ___ _R1__,A
INC R0
INC R1
DJNZ R7, __ LOOP___
SJMP $
END
2. 将4个单字节数放片内30H~~33H,它们求和结果放在片内40H,41H单元。
ORG 1000H
MOV R7,#04H
MOV R0,30H
CLR A
MOV 41H,A
LOOP: ADD A,@R0
JNC NEXT
INC _ 41H____
NEXT:INC _ _R0____
DJNZ R7,LOOP
MOV 40H,A
SJMP $
END
3.RAM中40H单元内存有一个十六进制数,把这个数转换为BCD码的十进制数,BCD码的十位和个位放在累加器A中,百位放在R2中。
ORG 2200H
MOV A,__ 40H___
MOV B,#64H
DIV AB
MOV R2,A
MOV A,__ #0AH___
XCH A,B
DIV AB
SWAP _A____
ORL A,B
SJMP $
END
4.编程序将片内40H-46H单元内容的高4位清零,保持低4位不变。
ORG 1000H
MOV R7,#07H
MOV R0,__ #40H___
LOOP:MOV A,@R0
ANL A,__ #0FH___
MOV @R0,A
INC R0
DJNZ R7,LOOP
SJMP $
END。