搜题
网友您好,请在下方输入框内输入要搜索的题目:
搜题
题目内容 (请给出正确答案)
提问人:网友anonymity 发布时间:2022-01-07
[主观题]

In paragraph 4, the author tries to tell us that ______. A.assembly language is a much higher level

In paragraph 4, the author tries to tell us that ______.

A.assembly language is a much higher level language than machine language

B.assembly language written for one kind of computer can't be used by another

C.assembly language is a high level language

D.programs written by a compiler run faster than those created in assembly language

简答题官方参考答案 (由简答题聘请的专业题库老师提供的解答)
查看官方参考答案
更多“In paragraph 4, the author tries to tell us that ______. A.assembly language is a much higher level”相关的问题
第1题
be greater in importance. __________ (paragraph 1)
点击查看答案
第2题
Communication is one of the most important _____ that hold cultural systems.

A、obligations

B、qualities

C、links

D、necessities

点击查看答案
第3题
People devised assembly language in order to ______.

A.simplify the process of programming

B.shorten the time to run a machine language

C.assign mnemonic code to each machine language command

D.translate the symbolic operands into mnemonic codes

点击查看答案
第4题
Which is true of the machine language?

A.The machine language is easy for machines to use.

B.Human beings can use the machine language easily.

C.All data and commands have to be in a binary form.

D.Running a program takes a longer time than writing the program.

点击查看答案
第5题
The vacuum-tube ON/OFF switches of the earliest computers were set manually; as a result, ______.

A.a number of computer language came into wide use

B.a computer language had to be a binary pattern

C.programming was boring and not easy

D.the tasks performed by a computer were made simple

点击查看答案
第6题
Assembly Language汇编语言Introducing Assembly Lang...

Assembly Language

汇编语言

Introducing Assembly Language

Assembly language unlocks the secrets of your computer's hardware and software[1]. It teaches you about the way the computer's hardware and operating system work together and how application programs communicate with the operating system.

To understand a computer and it.s operating system fully, one needs to study software at various levels. One is the application program level, where such programs interact with DOS. Another is the high-level language level, where powerful statements are expanded into many machine instructions recognized directly by CPU (Central Processing Unit), as well as the way programs communicate with DOS.

What Is Assembly Language?

Assembly language is a programming language with a one-to-one correspondence between its statements and a computer's machine language. There is no single assembly language because there is no single type of computer CPU. Each assembly language is directly influenced by a computer's machine instruction set and hardware architecture.

Strictly speaking, IBM-PC assembly language refers to instructions recognized by the intel 8086-80486(CPU) microprocessor family. But there is such close interaction between the CPU, computer peripherals, the DOS operating system, and the macro assembler itself that our discussions will often include all these topics.

What Is An Assembler?

An assembler is a program that converts source-code programs into machine language. In this passage, we will refer to an assembler that generates machine instructions for IBM- compatible microcomputers. All such computers use the Intel family of microprocessors, beginning with the Intel 8088, through the Intel 80486 (and beyond). Our programs will run under the PC-DOS/MS-DOS operating system, version 3. 0 or later. The two best- known assemblers for the IBM-PC are MASM (Microsoft Assembler) and TASM (Borland Turbo Assembler).

Assembly language is a specific set of instructions for a particular computer system. It provides a direct correspondence between symbolic statements and machine language. An assembler is a program that translates a program written in assembly language into machine language, which may in turn be executed by the computer. Each type of computer has a different assembly language, because the computer's design influences the instructions it can execute.

Assembly language is called a low-level language because it is close to machine language in structure and function. We can say that each assembly language instruction corresponds to one machine instruction. In contrast, high-level languages such as Pascal[2], BASIC[3], FORTRAN[4], and COBOL[5]contain powerful statements that are translated into many machine instructions by a compiler.

Why Learn Assembly Language?

People learn assembly language for various reasons. The most obvious one may be to learn about the computer's architecture and operating system. You may want to learn more about the computer you work with and about the way languages generate machine code. Because of assembly language's close relationship to machine language, it is closely tied to the computer's hardware and software.

You may also want to learn assembly language for its utility. Certain types of programming are difficult or impossible to do in high-level language. For example, direct communication with the computer's operating system may be necessary. A high-speed color graphics program may have to be written using a minimum of memory space. A special program may be needed to interface a printer to a computer. Perhaps you will need to write a telecommunications program for the IBM-PC. Clearly, the list of assembly language applications is endless.

Often there is a need to remove restrictions. High-Ievel languages, out of necessity, impose rules about what is allowed in a program. For example, Pascal does not allow a character value to be assigned to an integer variable.[6] This makes good sense unless there is a specific need to do just that. An experienced programmer will find a way around this restriction or rule; nearly everything is left to the discretion of the programmer. The price for such freedom is the need to handle many details that would otherwise be taken care of by the programming language itself.

Assembly language's usefulness as a learning tool should not be underestimateD. By having such intimate contact with the operating system, assembly language programmers come to know instinctively is how the operating system works. This knowledge, coupled with knowledge of hardware and data storage, gives them a tremendous advantage when tackling unusual programming problems. They have a different viewpoint than programmers who know only high-level language.

Assembly Language Applications

At first, the assembly language programs presented later will seem almost trivial. Those new to assembly language often cannot believe the amount of work required to perform relatively simple tasks. The language requires a great deal of attention to detail. Most programmers don't write large application programs in assembly language. Instead, they write short, specific routines.

Often we write subroutines in assembly language and call them from high-level language programs. You can take advantage of the strengths of the high-level languages by using them to write applications. Then you can write assembly language subroutines to handle operations that are not available in the high-level language.

Suppose you are writing a business application program in COBOL for the IBM-PC. You then discover that you need to check the free space on the disk, create a subdirectory, write a file, and create overlapping windows, all from within the program. Assuming that your COBOL compiler does not do all this, you can then write assembly language subroutines to handle these tasks.

Let's use another example: you might have written a word processing program in C[7]or Pascal, but it performs slowly when.updating the screen display. If you knew how, you could write routines in assembly language to speed up critical parts of the application and allow the program to perform up to professional standards.

Large application programs written purely in assembly language, however, are beyond the scope of the person who has just finished this book. There are many people who write complete assembly language application program for the IBM-PC. The few programmers in this group are familiar with several machine architectures and assemblers, and have been programming professionally for at least several years. These fortunate individuals still had to start with a basic foundation, and this book is intended to help you acquire just that.

Above all, assembly language programmers must know their date, for without a detailed understanding of how each date type is stored(at the bit level) , one might make serious mistakes. High-Ievel programming languages intentionally shield programmers from implementation-specific details, in the name of convenience and source-code portability. Assembly language, in contrast, is highly machine-specific and imposes few, if any, restrictions.

Machine Language

Before we embark on a rather long and detailed study of assembly language, let's put it into perspective. A computer doesn't actually understand assembly language-it understands machine language. Machine language is a language made up of numbers, which can be interpreted by a computer's CPU. A CPU usually has a small program embedded directly in the chip, called microcode. The microcode interpreter translates machine instructions directly into hardware signals.

Machine language makes it possible for the CPU to perform ordinary tasks, such as moving numbers or performing arithmetiC. Each CPU has its own machine language; or, in the case of IBM-compatible computers, all CPUs that belong to the intel family (8088, 8086,80186,80286,80386,80486) share a common machine language. This is an example of a machine language instruction that moves 5 into the AL register: 10110000 00000101. The number is written in binary, a number system made up of only the digits 1 and 0. The first 8 bits are the operation code (op code), which identifies it as the instruction that moves an 8-bit number to the AL register. The second 8 bits are the operand[8]. The complete instruction moves the number 5 to a register called AL. Registers are high-speed storage locations inside the CPU. They are identified by two-letter names, such as AH, AL, or AX.

A CPU's instructions set is the set of machine instruciions that the CPU is able to execute. For the Intel CPU family, the instruction set is downward-compatible, meaning that an instruction that works on a lower-level processor will always work on a higher-level processor. For example, the MOV instruction[9]works on the 8088, and therefore must work on the 80286. But there are many advanced instructions for the 80286 that do not work on the 8088.

At one time, all programs were written in machine language. But it's easy to see that machine instructions are difficult for humans to read and write. This is why assemblers and compilers were created, which would convert more readable instructions, created by a text editor, into machine language. Instead of writing the machine instruction shown earlier, we would write the following in assembly language:

M o v ah, 5

Notes

[1]unlocks the secrets:揭开了……奥秘。

[2]Pascal(Philips Automatic Sequence Calculator):菲利浦自动顺序计算机语言。

[3]Basic(Beginner's All-purpose Symbolic Instruction Code):初学者通用符号指令码。

[4]Fortran(Formula Translator):公式翻译程序设计语言,FORTRAN语言。

[5]COBOL(Common Business-Oriented Language):面向商业的通用语言,COBOL语言。

[6]For example,Pascal does not allow a character value to be assigned to an integer variable.例如,Pascal语言就不允许给一个整变量赋予字符值。

[7]C:C语言,一种高级程序设计语言,由贝尔实验室开发成功。

[8]Operand:操作数;运算数。

[9]Mov instruction:数据传输指令。

Say whether the following is true or not:

点击查看答案
第7题
Machine instructions are difficult for humans to read and write, so assemblers and compilers were created.
点击查看答案
第8题
A computer actually understands assembly language.
点击查看答案
第9题
Most programmers don't write large application programs in assembly language because assembly language requires a great deal of attention to detail.
点击查看答案
第10题
Unlike high-level language, assembly language has few restrictions or rules.
点击查看答案
重要提示: 请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案
购买前请仔细阅读《购买须知》
请选择支付方式
微信支付
支付宝支付
点击支付即表示你同意并接受《服务协议》《购买须知》
立即支付
搜题卡使用说明

1. 搜题次数扣减规则:

功能 扣减规则
基础费
(查看答案)
加收费
(AI功能)
文字搜题、查看答案 1/每题 0/每次
语音搜题、查看答案 1/每题 2/每次
单题拍照识别、查看答案 1/每题 2/每次
整页拍照识别、查看答案 1/每题 5/每次

备注:网站、APP、小程序均支持文字搜题、查看答案;语音搜题、单题拍照识别、整页拍照识别仅APP、小程序支持。

2. 使用语音搜索、拍照搜索等AI功能需安装APP(或打开微信小程序)。

3. 搜题卡过期将作废,不支持退款,请在有效期内使用完毕。

请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

- 微信扫码关注简答题 -
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反简答题购买须知被冻结。您可在“简答题”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
- 微信扫码关注简答题 -
请用微信扫码测试
欢迎分享答案

为鼓励登录用户提交答案,简答题每个月将会抽取一批参与作答的用户给予奖励,具体奖励活动请关注官方微信公众号:简答题

简答题官方微信公众号

简答题
下载APP
关注公众号
TOP