Chapter 12 List of Machine Language Instructions
List of Machine Language Instructions 239
12.3.3 Logical Instructions
AND source with destination
OR source with destination
EXCLUSIVE-OR source with destination
NOT destination
Mnemonic Description of operation
AND Dm, Dn AND Dm with Dn and store the result in Dn.
AND imm, Dn AND the zero-extended imm8, zero-extended imm16, or imm32 with Dn and
store the result in Dn.
AND imm16, PSW AND imm16 with PSW and store the result in PSW.
Mnemonic Description of operation
OR Dn, Dm OR Dm with Dn and store the result in Dn.
OR imm, Dn OR the zero-extended imm8, zero-extended imm16, or imm32 with Dn and
store the result in Dn.
OR imm16, PSW OR imm16 with PSW and store the result in PSW.
Mnemonic Description of operation
XOR Dm, Dn XOR Dm with Dn and store the result in Dn.
XOR imm, Dn XOR the zero-extended imm16 or imm32 with Dn and store the result in Dn.
Mnemonic Description of operation
NOT Dn Reverse all bits in Dn and store the result in Dn.