Current location - Loan Platform Complete Network - Foreign exchange account opening - The relationship between machine language and assembly language and high-level language
The relationship between machine language and assembly language and high-level language
A:

Assembly language is different from other high-level languages, because high-level languages like C++ need to be compiled into assembly language first, and then into machine language. Therefore, assembly is the bottom language closer to machine language, so it is also in a separate category.

For the relationship between instruction and instruction system, see the definition of "instruction system".

See the definition of "program" for the relationship between program and instruction.

For the relationship between machine language and instructions and programs, see the definition of "machine language".

For the relationship between assembly language and machine language, see the definition of "assembly language".

1, assembly language is a low-level language used in electronic computers, microprocessors, microcontrollers or other programmable devices, also known as symbolic language. In assembly language, mnemonics are used to replace the operation codes of machine instructions, and address symbols or labels are used to replace the addresses of instructions or operands. In different devices, assembly language corresponds to different machine language instruction sets and is converted into machine instructions through assembly process. Generally speaking, there is a one-to-one correspondence between a specific assembly language and a specific machine language instruction set, which cannot be directly transplanted between different platforms.

2. Instruction is a statement in machine language, which is a set of meaningful binary codes. The basic format of an instruction is, for example, an operation code field and an address code field, where the operation code indicates the operation nature and function of the instruction and the address code gives the operand or the address of the operand.

3. Compared with machine language, high-level programming language is an instruction set system. This instruction set is called machine code, which is data that can be directly interpreted by the CPU of the computer. Is a highly encapsulated programming language, as opposed to a low-level language. It is a programming language based on human daily language, which is expressed in words easily accepted by ordinary people (such as Chinese characters, nonstandard English or other foreign languages), which makes it easier for programmers to write and has high readability, so that people with shallow computer knowledge can roughly understand its contents. Because the development of the early computer industry was mainly in the United States, the general high-level languages were based on English. In the1980s, when computers were used in East Asia, Japan, Taiwan Province Province and Chinese mainland all tried to develop high-level languages written in their local languages, most of which were adapted from BASIC or languages dedicated to database data access. However, with the improvement of programmers' foreign language ability, there are few related developments at present.