In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the meaning of instructions and programs in the computer, which is very detailed and has a certain reference value. Friends who are interested must read it!
The instruction is the basic operation that the computer can realize, and it is the instruction and command that directs the machine to work, and the instruction is in the form of binary number; the instruction is composed of an operation code and an address code, which tells the computer what operation to perform. The address code tells the computer to read the data participating in the operation in which memory unit address. A program is a collection of instructions or commands.
The operating environment of this tutorial: windows7 system, Dell G3 computer.
What are instructions? What are the two parts of a computer's instructions?
The instruction is the basic operation that the computer can realize, and it is the instruction and command that directs the machine to work. The instruction is in the form of binary number.
The controller directs the machine to work by instructions, and people use instructions to express their intentions and hand them over to the controller for execution.
Usually an instruction includes two aspects: the opcode and the Operand, the opcode determines the operation to be completed, and the Operand refers to the data participating in the operation and the address of the unit in which it is located.
In a computer, operation requirements and Operand addresses are represented by binary numbers, called opcodes and address codes, respectively, and the whole instruction is stored in memory in the form of binary coding.
What is a program?
A program is a group of instructions that can be recognized and executed by a computer. it is a collection of instructions or commands that run on an electronic computer and meet certain needs of people.
It is written in some programming languages and runs on a certain target architecture. For example, a program is like an article written in English (programming language). Let a person who knows English (compiler) also read, understand and mark this article (structural system). Generally speaking, computer programs based on English text are compiled and linked to make it difficult for people to interpret, but they can be easily interpreted by the computer and then put into operation.
The above is all the contents of the article "what are the instructions and programs in the computer?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.