题目内容

片内RAM40H开始的单元内有10字节的二进制数,下面程序是完成找出其中最大值并存于50H单元中。 START:MOV R0,#40H ;数据块首地址送R0 MOV R7,#09H ;比较次数送R7 MOV A,R0 ;取数送A LOOP: INC R0 MOV 30H,@R0 ;取数送30H CJNE A,30H,NEHT ;(A)与(30H)相比 NEXT:JNC BIE1 ;(A)≥(30H)转BIR1 MOV A,30H ;(A)<(30H),大数送A BIE1: DJNZ R7,LOOP ;比较次数减1,不为0,继续比较 MOV 50H,A ;比较结束,大数送50H RET 错误:______ 改正:______

查看答案
更多问题

某别墅室内精装修工程,客厅平面尺寸为9m×12m,吊顶为轻钢龙骨石膏板;装饰设计未注明吊顶起拱高度、主龙骨和吊杆固定点的安装间距。在施工中,对不同材料基体交接处表面抹灰采用加强网防止开裂;饰面板(砖)采用湿作业法施工。 工程完工后,依据《住宅装饰装修工程施工规范》(GB 50327—2001)和《民用建筑工程室内环境污染控制规范》(GB 50325—2001)进行了验收。 本工程轻钢龙骨、主龙骨的安装间距宜为( )mm。

A. 1000
B. 1300
C. 1500
D. 1800

若采用6MHz的晶体振荡器,则MCS-51单片机的振荡频率为______,机器周期为______。

No woman can be too rich or too thin. This saying often attributed to the late Duchess of Windsor embodies much of the odd spirit of our times. Being thin is deemed as such a virtue. The problem with such a view is that some people actually attempt to live by it. I myself have fantasies of slipping into narrow designer clothes. Consequently, I have been on a diet for the better — or worse — part of my life. Being rich wouldn’’t be bad either, but that won’’t happen unless an unknown relative dies suddenly in some distant land, leaving me millions of dollars. Where did we go off the track When did eating butter become a sin, and a little bit of extra flesh unappealing, if not repellent All religions have certain days when people refrain from eating, and excessive eating is one of Christianity’’s seven deadly sins. However, until quite recently, most people had a problem getting enough to eat. In some religious groups, wealth was a symbol of probable salvation and high morals, and fatness a sign of wealth and well-being. Today the opposite is true. We have shifted to thinness as our new mark of virtue. The result is that being fat — or even only somewhat overweight — is bad because it implies a lack of moral strength. Our obsession with thinness is also fueled by health concerns. It is true that in this country we have more overweight people than ever before, and that, in many case, being overweight correlates with an increased risk of heart and blood vessel disease. These diseases, however, may have as much to do with our way of life and our high-fat diets as with excess weight. And the associated risk of cancer in the digestive system may be more of a dietary problem — too much fat and a lack of fiber — than a weight problem. The real concern, then, is not that we weigh too much, but that we neither exercise enough nor eat well. Exercise is necessary for strong bones and both heart and lung health. A balanced diet without a lot of fat can also help the body avoid many diseases. We should surely stop paying so much attention to weight. Simply being thin is not enough. It is actually hazardous if those who get ( or already are) thin think they are automatically healthy and thus free from paying attention to their overall life-style. Thinness can be pure vain glory. Swept by the prevailing trend, the author________.

A. had to go on a diet for the greater part of her life
B. could still prevent herself from going off the track
C. had to seek help from rich distant relatives
D. had to wear highly fashionable clothes

假设(R0)=30H,(20H)=38H,执行指令MOV R0,20H后(R0)=______。

答案查题题库