Current location - Training Enrollment Network - Mathematics courses - What are the meanings of MOV DL, 0AH and MOV DL, 0DH in assembly language?
What are the meanings of MOV DL, 0AH and MOV DL, 0DH in assembly language?
There is a system function call No.2 in assembly language, whose function is to display the ASCII code in DL on the screen, provided that the ASCII code is passed to DL. Here, 0AH is the ASCII code of the newline, and 0DH is the ASCII code of the carriage return (it should be noted that carriage return is originally used for confirmation, not the new paragraph generated by the newline in most text editors).

Extended data:

High-level language:

After the programming language was updated by machine language and assembly language, people found the key factor that limited the popularization of the program-the portability of the program. It is necessary to design a program that can run on different machines independently of computer hardware. This can avoid many repetitive programming processes and improve efficiency. At the same time, this language should be close to mathematical language or human natural language.

In 1950s, when computers were still scarce, the first high-level programming language was born. At that time, the cost of computers was very expensive, but the amount of calculation per day was limited. How to make effective use of the limited computing power of computers has become a problem faced by people at that time.

Because of the scarcity of resources, the efficiency of computer operation has also become the goal pursued by engineers in that era. In order to use computers more efficiently, people have designed advanced programming languages to meet people's pursuit of efficient and simple programming languages.

Baidu Encyclopedia-Assembly Language