INSTRUCTION DESCRIPTIONS

ADC

Add Long with Carry

ADC

result. The actual 96-bit result is stored in memory using the A10 and B10 operands (instead of A and B) because shifting and limiting is not desired.

Condition Codes:

15

14

 

13

12

11

10

9

8

7

6

 

5

4

3

2

1

0

LF

DM

T

**

 

S1

S0

 

I1

I0

S

L

E

U

N

Z

 

V

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MR

 

 

 

 

 

 

 

 

 

 

CCR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION L — Set if limiting (parallel move) or overflow has occurred in result

E — Set if the signed integer portion of A or B result is in use

U — Set if A or B result is unnormalized

N — Set if bit 55 of A or B result is set

Z— Set if A or B result equals zero

V — Set if overflow has occurred in A or B result

C — Set if a carry (or borrow) occurs from bit 55 of A or B result.

Note: The definitions of the E and U bits vary according to the scaling mode being used. Refer to Section A.5 for complete details.

Instruction Format:

ADC S,D

Opcode:

 

23

 

8

7

4

3

0

 

 

 

 

 

 

 

 

 

 

 

 

DATA BUS MOVE FIELD

 

0 0 1

J

d

0 0 1

 

 

 

 

 

 

 

 

 

 

 

 

OPTIONAL EFFECTIVE ADDRESS EXTENSION

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields:

S,D

J d

X,A

0 0

X,B

0 1

Y,A

1 0

Y,B

1 1

Timing: 2+mv oscillator clock cycles

Memory: 1+mv program words

MOTOROLA

INSTRUCTION SET DETAILS

A - 25

Page 294
Image 294
Motorola DSP56000, 24-Bit Digital Signal Processor manual Condition Codes, Adc S,D