Machine language, assembly language, advanced languages

Source: Internet
Author: User

Differences between compilations and high-level languages:

first of all, assembly language directly corresponds to machine languages , different types of computers can not be compatible. Some of the high-level languages are high- level languages for object-oriented (users, etc.) developed in machine language.


Second, the main features of assembly language:

programmers can control system hardware directly and effectively







easy to produce fast, small capacity high efficiency target program


=============================================================================================================== =========================

computer language has high-level language and low-level language points. And the high-level language is mainly relative to the assembly language, it is closer to the natural language and mathematical formula programming, basically out of the machine's hardware system, in a more understandable way people write programs.
low-level languages are machine language (binary language) and assembly language (symbolic language), both of which are machine-oriented languages and are closely related to the instruction system of a specific machine. The machine language is programmed with the instruction code, while the symbol language uses the instruction mnemonic to write the program.
high-level language is not specific to a particular language, but includes many programming languages, such as the current popular JAVA,C,C++,C#,PASCAL,PYTHON,LISP,PROLOG,FOXPRO,VC, easy language, Chinese version of C language learning language, etc. These languages have different syntax and command formats.
high-level language and computer hardware structure and instruction system independent, it has stronger expression ability, can easily represent the data operation and program control structure, can better describe various algorithms, and easy to learn to master. But the program code generated by the high-level language compiler is generally longer and slower to execute than the program code designed in assembler language. Therefore, assembly language is suitable for writing programs that require high speed and code length and direct control over hardware. High-level languages, assembly language, and machine language are all languages used to write computer programs.
High-level language program "invisible" machine hardware structure, can not be used to write direct access to the machine hardware resources of the system software or device control software. For this reason, some high-level languages provide a calling interface with assembly language. A program written in assembly language that can be used as an external procedure or function of a high-level linguistic, using a stack to pass the address of a parameter or parameter.
machine Language (language) is a system of instruction sets. This instruction set, called machine code, is the data that the computer's CPU can read directly. Machine language is a machine-directed system that can be directly identified and executed by a computer using binary code.
It is the computer's designer through the computer's hardware structure gives the computer the operation function. Machine language has the characteristics of flexibility, direct execution and fast speed.
An instruction is a statement of the machine language, it is a set of meaningful binary code, the basic format of the instruction, such as the Operation Code field and the Address Code field, where the operation code indicates the operation of the instruction and function, the address code gives the address of the operand or operand.
in machine language programming, programmers first memorize all the instruction code and the meaning of the code used by the computer. When you hand-program, programmers have to handle each instruction and each data storage allocation and input and output, but also have to remember in the programming process of each step used in the state of the work unit. This is a very tedious task. The time it takes to write a program is often dozens of times times or hundreds of times times the actual run time. Furthermore, the programmed programs are all 0 and 1 instruction codes, which are poor in visibility and error prone. In addition to the computer manufacturer's professionals, the vast majority of programmers are no longer learning machine language.
assembly Language (Assemblylanguage) is machine-oriented programming languages. In assembler, use mnemonic (memoni) instead of opcode, address symbol (symbol) or label (label) instead of address code. In this way, the binary code of the machine language is replaced by the symbol, and the machine language is converted into assembler. So assembly language is also known as symbolic languages. The program written in assembly language, the machine can not be directly recognized by a program to translate assembly language into machine language, the translation process called Assembler, assembler is the System software language processing system software. The process of translating assembly language into machine languages is called assembler.

Machine language, assembly language, advanced languages

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.