ITWissen.info - Tech know how online

command

A command is the most elementary part of a program, which is detected by technical equipment or systems and automatically converted into precisely defined machine processes. A program command consists of the address part and the execution part. In programming, a command is expressed in the syntax of the respective programming language.

The term command is mainly used for machine-oriented programming languages, while the term instruction is used in higher programming languages. Typical instructions for internal program execution are arithmetic instructions for decimal arithmetic, fixed-point arithmetic, and floating-point operations; logical instructions for link and compare instructions; transport instructions for transport, load, and store operations; and jump instructions for program jumps.

Examples of various instructions

Examples of various instructions

In addition, there are external instructions that the central processing unit uses to control peripheral devices. These include the input and output instructions and control instructions for the peripheral devices.

Phases of instruction processing

Phases of instruction processing

Command processing is performed by a continuously repeating sequence of actions of the control unit. During the processing of a sequence of commands, a command is loaded from the memory into the control unit. Then this command is decoded and interpreted. From the interpreted command, control signals are generated in the execution phase to execute the command. These are then executed by the processor. The time required for the entire cycle is called the cycle time.

According to DIN 44300, a command is an elementary instruction related to a functional unit that can be executed by this functional unit directly or indirectly after it has been coded and stored.

Informations:
Englisch: command
Updated at: 07.05.2013
#Words: 256
Links: program, address (A), indium (In), syntax, programming language (PL)
Translations: DE
Sharing:    

All rights reserved DATACOM Buchverlag GmbH © 2022