Opcode: Difference between revisions

Content deleted Content added
Wernher (talk | contribs)
No edit summary
Line 1:
A computer can perform operations, each of which is assigned a numeric code called an '''opcode'''. SinceTo humansassist arein terriblethe atuse memorizingof lots ofthese similar numeric codes, [[mnemonic]]s are used as textual abbreviations. It's much easier to remember ADD than 05, for example.
 
Opcodes operate on [[register]]s, values in [[memory]], values stored on the [[Stack (computing)|stack]], [[I/O]] ports, the [[Computer bus|bus]], etc. They are used to perform arithmetic operations and move and change values. Operands are the things that opcodes operate on.