-
There are three types of computer languages: machine language, assembly language, and high-level language.
1. Machine language is a programming language or instruction that can be directly recognized by the machine, without translation, and each operation code has a corresponding circuit inside the computer to complete it, or refers to the programming language or instruction that can be directly understood and accepted by the machine without translation.
2. Assembly language is a low-level language used for electronic computers, microprocessors, microcontrollers, or other programmable devices, also known as symbolic language. In assembly language, mnemonics are used instead of opcodes for machine instructions, and address symbols or designators are used instead of addresses for instructions or operands.
3. High-level language is a system of instruction sets relative to machine language. In this language, its syntax and structure are more similar to Chinese characters or ordinary English, and because it is far away from the direct operation of hardware, it can be programmed by ordinary people after learning.
-
Programming languages can be divided into three categories: machine languages, assembly languages, and high-level languages.
The essence of assembly language is the same as that of machine language, both of which are directly manipulated on hardware, except that the instructions use abbreviated identifiers, which are easier to identify and remember. It also requires the programmer to write out the specific operation of each step in the form of commands. The assembler usually consists of three parts:
Directives, pseudo-directives, and macros. Each instruction of the assembler can only correspond to a very subtle action in the actual operation process, so the assembly source program is generally more lengthy, complex, and prone to error, and the use of assembly language programming requires more computer expertise, but the advantages of assembly language are also obvious, the operation that can be completed with assembly language is not generally advanced such as the late loss language can be realized, and the executable file generated by the source program through assembly is not only relatively small, but also executes quickly.
High-level languages are currently the choice of the vast majority of programmers. Compared with assembly language, it not only synthesizes many related machine instructions into a single instruction, but also removes details related to specific operations but not related to completing the work, such as the use of stacks, registers, etc., so that the instructions in the program are greatly simplified. At the same time, because a lot of details are omitted, the programmer doesn't need to have much expertise.
Danai Education's original teaching system, Danai OMO teaching mode, new upgrades, online and offline interactive learning, to meet the diverse learning needs of students; At the same time, we have experienced lecturers to teach courses, benchmark enterprise talent standards, formulate professional learning plans, include mainstream hot technologies, and use theoretical knowledge + learning thinking + practical operation to create a complete learning closed loop; There is also a double selection meeting for enterprises, so that students' employment is smoother. If you are interested, click here to learn for free.
-
1. Machine language.
1. Advantages: It can be directly recognized and executed by the computer, so the program written in machine language is the most efficient.
2. Disadvantages: It is programmed with instructions, and thousands of instructions are difficult to remember, and it is difficult to find out the error once it goes wrong. Different types of computers have different instruction encoding, so if a program written for one type of computer is ported to another computer, the results may not be correct, and may not even run at all.
II. Assembly language.
1. Advantages: It can directly access the system interface, and the machine language program translated by the assembler is highly efficient.
2. Disadvantages: Assembly language instructions are symbolization of machine instructions, and there is a direct correspondence with machine instructions, so assembly language also has shortcomings such as difficult to learn and use, easy to make mistakes, and difficult to maintain.
3. High-level language.
1. Advantages: The form is close to arithmetic language and natural language, and the concept is close to the concept that people usually use. A single command in a high-level language can replace several, dozens, or even hundreds of instructions in assembly language.
Therefore, high-level languages are easy to learn and use, have strong versatility, and are widely used.
2. Disadvantages: There are many types of high-level languages.
There are three main types of computers in the future:
1.Photonic Computer: >>>More
Shiitake mushroom beans.
Ingredients: 400 grams of beans, 75 grams of shiitake mushrooms, 40 grams of oil, 2 grams of green onion and minced ginger, 5 grams of soy sauce, 15 grams of cooking wine, 2 grams of salt, 5 grams of monosodium glutamate, 30 grams of water starch, 5 grams of sesame oil, appropriate amount of soup. Production process: >>>More
1. Sweet potato starch: It is one of the main products of sweet potato processing, and sweet potato starch can be divided into two types: fresh sweet potato and dried sweet potato. However, due to the fact that the quality of fresh sweet potato starch is better than that of dried sweet potatoes, there are many starch processed by fresh potatoes, and because sweet potatoes are more troublesome to cut, few people now use dried sweet potatoes to process starch. >>>More
Chemotherapy can cause the patient to lose their appetite
Decreased food intake, nausea, vomiting, bloating, abdominal pain, diarrhea, or constipation. >>>More
There are several ways to finance a business: >>>More