Joke Collection Website - Talk about mood - What do machine language, assembly language, and pseudocode mean in C language?
What do machine language, assembly language, and pseudocode mean in C language?
Computer language is a standardized writing language for people to describe the calculation process, that is, the program. A program is a description of computer processing objects and calculation rules. The basis of language is a set of symbols and rules. According to the rules, the symbol string composed of symbols is the language.
Human beings invented computers and needed to "communicate" with computers, that is, write and read. Therefore, a language must be used to allow humans and machines to communicate, and machine language was born.
Machine language is a collection of machine instructions. In a nutshell, machine instructions are commands that a machine can execute correctly. Every instruction that a microprocessor can recognize is called a machine instruction. Each processor has its own set of instructions that it can recognize, called an instruction set. Due to differences in hardware design and internal structure, different level pulses need to be used to control it to make it work. So each microprocessor has its own machine instruction set, which is machine language. Machine language is binary code that computers can recognize and run.
Assembly language is a low-level language that uses mnemonics to make binary machine code easier to write and check. Assembly language is close to machine language and can be regarded as another form of machine language. When the computer is running, it also needs to be converted into machine language binary before it can run. Assembly language is the mnemonic for machine language.
Pseudocode is an algorithm description language. It is not a real-life programming language. The purpose of using as code is so that the algorithm being described can be easily implemented in any programming language. It may use a combination of syntax, reserved words, and even natural language from multiple programming languages. Therefore, pseudocode must have a clear structure, simple code, good readability, and resemble natural language. Computer science often uses pseudocode in teaching so that it can be understood by all programmers.
The C language is named C because the C language is derived from the B language invented by Ken Thompson, and the B language is derived from the BCPL language. In 1972, D.M. Ritchie of Bell Labs in the United States finally designed a new language based on the B language. He took the second letter of BCPL as the name of this language. This is the C language. Neither machine language nor assembly language is portable, but C language programs can be used on processors of any architecture, as long as the processor of that architecture has a corresponding C language compiler and library, and then the C source code is compiled and It can be run after being connected into the target binary file.
- Previous article:Lonely and sad sentences in the buttoning space talk about mood
- Next article:Beautiful sentences describing summer nights
- Related articles
- Translated classical Chinese Wenhong
- Carcinogenic substances in the kitchen
- Complete works of good sentences in the Spring Festival of the Year of the Pig.
1, the Spring Festival is coming to us step by step. Every household is busy, sweeping the floor, cleaning the win
- As a post-80s generation, what are your childhood memories?
- What do you think of Maserati gt? I want to buy it.
- An easy sentence to face calmly.
- On the first day of National Day, there are 400 words in the 7-day diary. Ask for more
- What life did you miss most before the outbreak?
- The composition tells the meaning of memorizing 400 words.
- My son is six years old and still wets the bed. What if he can't wake up at night?