Unary Operations
Instruction | Operands | Effect | Description |
---|---|---|---|
neg[bwlq] | D | D ← -D | Negate |
not[bwlq] | D | D ← ~D | Complement |
Binary Operations
Instruction | Operands | Effect | Description |
---|---|---|---|
xor[bwlq] | S, D | D ← D ^ S | Exclusive-or |
or[bwlq] | S, D | D ← D | S | Or |
and[bwlq] | S, D | D ← D & S | And |
Bibliography
- Bryant, Randal E., and David O’Hallaron. Computer Systems: A Programmer’s Perspective. Third edition, Global edition. Always Learning. Pearson, 2016.