Computer Science Instruction: Single operation of a computer

In computer science, an instruction is a single operation of a processor defined by the processor instruction set.

The size or length of an instruction varies widely, from as little as 4-bits in some microcontrollers to many as multiples of a bytes in some very long instruction word (VLIW) systems. Most modern processors used in personal computers, mainframes, and supercomputers have instruction sizes between 16 and 64 bits. In some architectures, especially Reduced instruction set computers, instructions are of fixed length, typically corresponding with that architecture's word size.

On traditional architectures, an instruction includes an opcode specifying the operation to be performed, such as "add contents of memory to register", and zero or more operand specifiers, which may specify registers, memory locations, or literal data. The operand specifiers may have addressing modes determining their meaning or may be in fixed fields.

In VLIW architectures, which include many microcode architectures, multiple simultaneous operations and operands are specified in a single instruction.

Instructions are rarely specified using their machine code form; they may be specified by programmers using an assembly language or, more commonly, may be generated by compilers.

There is another more general definition for an "instruction" not only related to the processor instruction set, which is: An "instruction" may be any representation of an element of an executable computer program.

Tags:

Central processing unitComputer scienceInstruction set architecture

🔥 Trending searches on Wiki Simple English:

ShemaleBacchusTildeBasketballLisa SparxxxHuman penisCricketList of cities and towns in CaliforniaManchester United F.C.Christie BrinkleyList of European stadiums by capacityList of ZIP Code prefixes58 (number)ATriple HNational Democratic AllianceAdolf Hitler UunonaCyprusSonic the Hedgehog (movie)ChatGPTSoviet UnionList of districts of MaharashtraThe UndertakerKane (wrestler)List of cities in Pakistan2007EncyclopediaList of best-selling video gamesBasic EnglishJohn MajorRic FlairMagnus CarlsenCharlie ChaplinSeven deadly sinsMayZlatan IbrahimovićPhiQWERTYWatergate scandalCanadaButterflyNorth IndiaTea bag (sexual act)Flag of GreeceSquash (plant)BeyoncéAviciiPresident of the United StatesBietigheim-BissingenArthur Leigh AllenLyudmila PutinaStatue of LibertySaddam HusseinDeaths in 2024Salman KhanDildoPoliticsO. J. SimpsonTom KaulitzConspiracy theoryList of extinct volcanoesList of U.S. states by date of admission to the UnionReza Pahlavi, Crown Prince of IranMudskipperList of cities in BelgiumWe the People PartyJohn Wayne GacyPeace be upon him (Islam)24-hour clock13 (number)Zinedine ZidaneMadeline Argy🡆 More