请编制程序,其功能为:将一个ASCII字符串中所有大写字母全部变成小写字母,其他字母不变。字符串以00H结束,长度不超过20个字节。 部分程序已经给出,其中原始数据由LOAD过程从文件INPUT1.DAT中读入从SOURCE开始的内存单元,运算结果要求从RESULT开始存放,由SAVE过程保存到OUTPUT1.DAT文件中。请在BEGIN和END之间补充使其完整,完成要求的功能。或删除BEGIN和END之间原有的代码并自行编程来完成要求的功能。 对程序必须进行汇编,并与IO.OBJ链接产生PROG1.EXE执行文件,最终产生运行结果。 部分程序如下: ;PROG1.ASM EXTRN LOAD:FAR, SAVE:FAR N EQU 20 DSEG SEGMENT SOURCE DW N DUP () RESULT DW N DUP (0) NAME0 DB ’INPUT1.DAT’,0 NAME1 DB ’OUTPUT1.DAT’,0 DSEG ENDS SSEG SEGMENT STACK DB 256 DUP () SSEG ENDS CSEG SEGMENT ASSUME CS:CSEG, DS:DSEG;SS:SSEG START PROC FAR PUSH DS XOR AX,AX PUSH AX MOV AX,DSEG MOV DS,AX LEA DX, SOURCE LEA SI,NAME0 MOV CX,N CALL LOAD ; *** BEGIN *** …… …… …… ; *** END *** LEA DX, RESULT LEA SI,NAME1 MOV CX,N CALL SAVE RET START ENDP CSEG ENDS END START
查看答案
Apartado 519 Panama, Republica de Panama June, 2002Customer Relations Dept.Univox Audio Systems, Inc.7789 Grove Blvd.Palo Alto, CA 94302Dear Sir / Madam, I’m writing to you concerning a Univox CD player(Model CDP4500) that I purchased several months ago from one of your dealers (经销商) here in Panama City: Discount Audio. From your ads, I was led to believe that your audio equipments are the best available on the market. That’s hard to believe, considering that I’ve had nothing but problems with my CD player from the day I bought it. For one thing, the tracking (跟踪) mechanism doesn’t work properly; I can never tell for sure what part of the CD is playing. And now there’s a problem with the volume(音量) control; sometimes it works and sometimes it doesn’t. I took the player to the service department at Discount Audio. When I picked it up, they said they’d fixed the tracking mechanism as best they could, but it still doesn’t work properly. I’m sick and tired of all the problems I’ve had with your product. I hope you will understand my concern. I look forward to hearing from you about what you can do to help solve this problem. Faithfully yours, Roberto Suarez What’s the purpose of writing the letter To ask the supplier to ______.
下列Applet在坐标(20,20)处显示一幅GIF图像,请填写正确的程序在横线处。 import java.awt.*; import java.applet.*; import java.net.URL; public class Testl3 extends Applet { Image i; public void init() { URL url=getDocumentBase(); String name="IMG onClick=over(this) title=放大0, gif"; 【15】 ; } public void paint(Graphics g) { g.drawImage( i,20,20,this); } }
The teacher told us that light (travel) ______ faster than sound.
A—to increase my knowledgeB—to increase my reading enjoymentC—to better understand what I’m readingD—to get information that I need on the jobE—to be a more valuable employeeF—to get facts that I need in my personal lifeG—to check situations more accuratelyH—to help prevent errors and misjudgmentsI—to increase my reading skillsJ—to become a better speaker and communicatorK—to gather needed background informationL—to improve my writing abilityM—to make better decisionsN—to feel better about myselfO—to help me get ahead in my career ( )增加读书乐趣 ( )获得工作所需的信息