-
As long as you don't develop hardware drivers, then Xuexue 8086 assembly is enough. The main purpose of learning compilation is to make you understand how the underlying computer works. It's not really about making it so that everyone can learn to program with it.
-
I've been learning compilation recently, and the easiest textbook to get started with is Wang Shuang's "Assembly Programming", and if you don't have much foundation, I recommend starting with him. If there are any questions, we can talk to each other.
-
Categories: Computer Networking >> Programming >> Other Programming Languages.
Analysis: It's just a language.
Assembly Language is a machine-oriented programming language.
In assembly synthesis, use a mnemonic instead of an opcode, and a symbol or label instead of an address mom. In this way, the substitution of symbols for the binary code of machine language illiteracy turns machine speech into assembly language. As a result, assembly language is also known as symbolic language.
The program written in assembly language can be directly recognized by the machine, and the assembly language should be translated into machine language by a program, and the program that plays the role of translation is called the assembly program, and the assembly program is the language processing tape clearing system software in the system software. Assembly languageThe process of translating an assembler into machine language is called an assembly.
Assembly language is easier to read and write, easy to debug and modify than machine language, and also has the advantages of fast execution speed and less memory space, but it has obvious limitations when writing complex programs.
For different models of computers, there are different structures of assembly language.
Assembly language is more convenient than using binary programming in machine language because it uses mnemonic notation to write programs, and simplifies the programming process to a certain extent. Assembly language is characterized by the substitution of symbols for machine instructions**, and the mnemonic and instruction** correspondence are one-to-one, which basically retains the flexibility of machine language. The use of assembly language can be machine-oriented and give full play to the characteristics of the machine, resulting in high-quality programs.
Assembly language is oriented to specific models, it is inseparable from the instruction system of specific computers, therefore, for different types of computers, there are different structures of assembly language, and for the same problem, the assembly language programs are not interconnected with each other among different kinds of computers.
Due to the use of mnemonic symbols in assembly language, programs written in assembly language are entered into the computer, and the computer cannot directly recognize and execute them like programs written in machine language, and must be put into the computer in advance"Compiler"can be turned into a binary program that can be recognized and processed by a computer. A symbol program written in a non-machine language, such as assembly language, is called a source program, and the runtime assembler translates the source program into a target program. The target program is a machine language program that can be processed and executed by the computer's CPU once it is placed in a predetermined location in memory.
Assembly language, like machine instructions, is a control of hardware operations, so it is still a machine-oriented language, which is still cumbersome and time-consuming to use, and has poor versatility. However, assembly language is used to program system software and process control software, and its target program occupies less memory space and runs fast, so it has an irreplaceable use for high-level languages.
Microcomputer Principles and Assembly Language Tutorial".
Assembly language can be said to be machine language, and what deals directly with hardware is to transform computer language into 1001 that machines can recognize. It's not going to go out of style, at least not for this decade. It's mostly about the hardware side though. >>>More
First, the register position is different:
1. CS: ** segment register; >>>More
Their instruction sets, with different addressing methods, are equivalent to two machines operating in their own ways. >>>More
There is disassembly software on the Internet, you try it, thank you.
There are several books on the market called "IBM-PC Assembly Language Programming". >>>More