Opcode: Difference between revisions

Content deleted Content added
m Andre Engels: Robot-assisted disambiguation Stack
No edit summary
Line 1:
A computer can perform operations., each Eachof operationwhich is is assigned a numeric code. These codes are called an '''Opcodeopcode'''. Since humans are terrible at memorizing lots of similar numeric codes, [[mnemonic]]s are used as a textual abbreviationabbreviations. It's much easier to remember ADD than it is 05, for instanceexample.
 
Opcodes operate on [[register]]s, values in [[memory]], values stored on the [[Stack (computing)|stack]], i/o ports, the bus, etc. They are used to perform arithmetic operations and move and change values. Operands are the things that Opcodes operate on.