Cmpl – Texas Instruments TMS320C2XX User Manual

Page 217

Advertising
background image

CMPL

Complement Accumulator

7-64

Syntax

CMPL

Operands

None

Opcode

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

1

0

0

0

0

0

0

0

0

1

1

1

1

1

0

1

Execution

Increment PC, then ...
(ACC)

ACC

Status Bits

None

Description

The contents of the accumulator are replaced with its logical inversion (1s
complement). The carry bit is unaffected.

Words

1

Cycles for a Single CMPL Instruction

ROM

DARAM

SARAM

External

1

1

1

1+p

Cycles for a Repeat (RPT) Execution of an CMPL Instruction

ROM

DARAM

SARAM

External

n

n

n

n+p

Example

CMPL

Before Instruction

After Instruction

ACC

X

0F7982513h

ACC

X

0867DAECh

C

C

Cycles

Advertising