Opcode: Difference between revisions

Content deleted Content added
Morven (talk | contribs)
Wholly rewritten. I felt the example was incomprehensible to anyone needing the help, so I removed it. Perhaps a better one can be created?
Morven (talk | contribs)
Unilaterally removing the cleanup tag. If you disagree, put it back.
Line 1:
{{cleanup-date|June 2005}}
 
In [[computer science]], an '''Opcode''' is the portion of a [[machine language]] [[instruction]] that specifies the operation to be performed. The term is an abbreviation of '''Op'''eration '''Code'''. Their specification and format will be laid out in the [[instruction set architecture]] (ISA) of the [[computer hardware]] component in question—normally a [[central processing unit|CPU]], but possibly a more specialised unit. A complete machine language instruction contains an opcode and, optionally, the specification of one or more [[operand]]s—what data the operation should act upon. Some operations have ''implicit'' operands, or indeed none. Some ISAs have instructions with defined fields for opcodes and operands, while others (e.g. the [[Intel x86]] architecture) have a more complicated and ad-hoc structure.