Chapter 12 List of Machine Language Instructions

12.3.3 Logical Instructions

AND source with 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.

 

 

OR source with destination

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.

 

 

EXCLUSIVE-OR source with destination

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.

 

 

NOT destination

Mnemonic

Description of operation

 

 

NOT Dn

Reverse all bits in Dn and store the result in Dn.

 

 

List of Machine Language Instructions 239

Page 251
Image 251
Panasonic MN1030 user manual Logical Instructions, Source with destination, Or source with destination, Not destination