Content deleted Content added
m Disambiguating links to Device (link removed) using DisamAssist. |
|||
Line 55:
====Data handling and memory operations====
*''Set'' a [[processor register|register]] to a fixed constant value.
*''Copy'' data from a memory ___location or a register to a memory ___location or a register (a machine instruction is often called ''move''; however, the term is misleading). They are used to store the contents of a register, the contents of another memory ___location or the result of a computation, or to retrieve stored data to perform a computation on it later. They are often called [[load–store unit|''load''
*''Read''
====Arithmetic and logic operations====
*''Add'', ''subtract'', ''multiply'', or ''divide'' the values of two registers, placing the result in a register, possibly setting one or more [[flag (
**''{{vanchor|increment}}'', ''{{vanchor|decrement}}'' in some ISAs, saving operand fetch in trivial cases.
*Perform [[bitwise operation]]s, e.g., taking the ''[[logical conjunction|conjunction]]'' and ''[[logical disjunction|disjunction]]'' of corresponding bits in a pair of registers, taking the ''[[logical negation|negation]]'' of each bit in a register.
|