NOT

NOT

Bitwise Complement (DALU)

Operation

Assembler Syntax

~Da → Dn

NOT Da,Dn

NOT

Description

NOT Da,Dn

Replaces the contents of the destination data register (Dn) with the 40-bit one’s complement of the source data register (Da).

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Example

not d4,d5

Register/Memory Address

D4

L5:D5

Before

$FF FFFF FFFB

After

$0:$00 0000 0004

Instruction Formats and Opcodes

Instruction

Words

Cycles

Type

NOT Da,Dn

1

1

2

Opcode

158 70

1 1 0 1 1 0 F F F 0 0 0 0 J J J

Instruction Fields

Dn

FFF

 

Single Source/Destination Data Register

 

 

 

000

D0

010

D2

100

D4

110

D6

 

 

 

 

 

 

 

 

 

 

001

D1

011

D3

101

D5

111

D7

 

 

 

 

 

 

 

 

Note:

This instruction

can specify D8-D15 as operands by using a prefix.

 

 

A-334

SC140 DSP Core Reference Manual

Page 648
Image 648
Freescale Semiconductor SC140 specifications Bitwise Complement Dalu, Not d4,d5, ~Da → Dn, Not Da,Dn