INSTRUCTION DESCRIPTIONS

BCHG

Bit Test and Change

Instruction Format:

BCHG #n,D

Opcode:

BCHG

2316 158 70

0 0 0 0 1 0 1 1 1 1 D D D D D D 0 1 0 b b b b b

Instruction Fields:

#n=bit number=bbbbb, D=destination register=DDDDDD

xxxx=16-bit Absolute Address in extension word

Destination Register

D D D D D D

Bit Number bbbbb

4 registers in Data ALU

0

0

0

1 D

D

00000

8 accumulators in Data ALU

0

0

1

D D

D

8 address registers in AGU

0

1

0

T T

T

10111

8 address offset registers in AGU

0

1

1

N N

N

 

8 address modifier registers in AGU

1

0

0

F F

F

 

8 program controller registers

1

1

1

G G

G

 

See Section A.10 and Table A-18for specific register encodings.

A - 46

INSTRUCTION SET DETAILS

MOTOROLA

Page 315
Image 315
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Destination Register, D D D D