Home  >  Article  >  What identifies and differentiates different instruction types

What identifies and differentiates different instruction types

尚
Original
2020-03-18 13:33:163597browse

What identifies and differentiates different instruction types

Instructions are commands that instruct the computer to perform a certain operation. It consists of a string of binary numbers.

An instruction usually consists of two parts: operation code and address code.

Operation code: Indicates the type or nature of the operation to be completed by the instruction, such as fetching numbers, adding, or outputting data, etc.

Address code: Indicates the content of the operation object or the address of the storage unit where it is located.

So different instruction types can be identified and distinguished by their opcodes.

Instructions are stored in sequence in the memory. Usually, instructions are executed sequentially, and under certain conditions, the order can be executed based on the operation results or based on set conditions.

The above is the detailed content of What identifies and differentiates different instruction types. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn