In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Today, I will talk to you about the function of assembly language, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can gain something according to this article.
Assembly language is not only a powerful programming language, but also a language that makes use of all the hardware features of the computer and can directly control the hardware. After learning well, you can do single-chip microcomputer, operating system, compiler, anyway, the underlying development is definitely needed.
Assembly language (assembly language) is a low-level language used in computers, microprocessors, microcontrollers or other programmable devices, also known as symbolic language. In assembly language, mnemonics are used to replace the opcodes of machine instructions, and address symbols or labels are used to replace the address of instructions or operands.
In different devices, assembly language corresponds to different machine language instruction sets and is converted into machine instructions through the assembly process. Specific assembly language and specific machine language instruction set are one-to-one corresponding, and can not be directly transplanted between different platforms.
Assembly language is not only a powerful programming language, but also a language that makes use of all the hardware features of the computer and can directly control the hardware.
What can assembly language do?
Computer work is driven by a series of machine instructions, which are a series of binary digits 0101000110, corresponding to the high and low levels of the computer, and the set of these machine instructions is the machine language, which is already at the bottom. One-to-one with the hardware.
It is obvious that such machine language is anti-human. Only geniuses and lunatics have the ability to control him.
So the assembly language came into being. Assembly language is to convert some 0100100 that are difficult to remember into a format that is easy to remember, so that people can understand it a little bit. If you send the contents of the register bx to ax, the corresponding machine instruction is: 100001001110110000 (you have no idea what it is, if you really want to study it, then you have to check its circuit connection), and become an assembly instruction: mov ax, bx. Haha, is it much easier to understand? Therefore, I also summed up a truth, in fact, the so-called difficulty and simplicity, really only relative, there is no comparison, there is no harm!
Going back to the previous question, what can assembly language do? This question is a bit low, machine language can do anything, assembler can do? But is machine language so powerful? Is it possible that machine language can do so many high-tech things nowadays? This is nonsense, all languages turn to the end, are machine languages, there is no machine language can not do, it can also be said that there is no assembly can not do, but our skills are not enough, !
After learning assembly language well, you can do single-chip microcomputer, operating system, compiler, anyway, the underlying development is definitely needed.
There are mainly three types of instructions in assembly: 1) assembly instructions (machine code mnemonics, which correspond to machine instructions one by one, if possible, you can actually operate all the computer hardware as long as this thing is possible); 2) pseudo instructions (no corresponding machine code, executed by the compiler, but not executed by the computer, that is to say, it has been converted into one or more machine codes by the compiler, which is what modern high-level language compilers do. 3) other symbols (such as +-* /, like the second one, are recognized by the compiler)
After reading the above, do you have any further understanding of the function of assembly language? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.