Texas Instruments TMS320C2XX User Manual

Page 287

Advertising
background image

PAC

Load Accumulator With Product Register

7-134

Syntax

PAC

Operands

None

Opcode

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

1

1

0

0

0

0

0

0

0

1

1

1

1

1

0

1

Execution

Increment PC, then ...
shifted (PREG)

ACC

Status Bits

Affected by
PM

Description

The content of PREG, shifted as specified by the PM status bits, is loaded into
the accumulator.

Words

1

Cycles for a Single PAC Instruction

ROM

DARAM

SARAM

External

1

1

1

1+p

Cycles for a Repeat (RPT) Execution of a PAC Instruction

ROM

DARAM

SARAM

External

n

n

n

n+p

Example

PAC

;(PM = 0: no shift of product)

Before Instruction

After Instruction

PREG

144h

PREG

144h

ACC

X

23h

ACC

X

144h

C

C

Cycles

Advertising