Analog Devices ADSP-21020 manual Fixed-Point, Vector Address Hex Function, IRQ3, IRQ2, IRQ0

Models: ADSP-21020

1 32
Download 32 pages 38.92 Kb
Page 11
Image 11

ADSP-21020

Table Vll. Multifunction Compute Operations

Fixed-Point

Rm=R3-0 * R7-4 (SSFR), Ra=R11-8 + R15-12 Rm=R3-0 * R7-4 (SSFR), Ra=R11-8R15-12 Rm=R3-0 * R7-4 (SSFR), Ra=(R11-8 + R15-12)/2 MRF=MRF + R3-0 * R7-4 (SSF), Ra=R11-8 + R15-12 MRF=MRF + R3-0 * R7-4 (SSF), Ra=R11-8R15-12 MRF=MRF + R3-0 * R7-4 (SSF), Ra=(R11-8 + R15-12)/2 Rm=MRF + R3-0 * R7-4 (SSFR), Ra=R11-8 + R15-12 Rm=MRF + R3-0 * R7-4 (SSFR), Ra=R11-8R15-12 Rm=MRF + R3-0 * R7-4 (SSFR), Ra=(R11-8 + R15-12)/2 MRF=MRF – R3-0 * R7-4 (SSF), Ra=R11-8 + R15-12 MRF=MRF – R3-0 * R7-4 (SSF), Ra=R11-8R15-12 MRF=MRF – R3-0 * R7-4 (SSF), Ra=(R11-8 + R15-12)/2 Rm=MRF – R3-0 * R7-4 (SSFR), Ra=R11-8 + R15-12 Rm=MRF – R3-0 * R7-4 (SSFR), Ra=R11-8R15-12 Rm=MRF – R3-0 * R7-4 (SSFR), Ra=(R11-8 + R15-12)/2 Rm=R3-0 * R7-4 (SSFR), Ra=R11-8 + R15-12,

Rs=R11-8R15-12

Floating-Point

Fm=F3-0 * F7-4, Fa=F11-8 + F15-12 Fm=F3-0 * F7-4, Fa=F11-8F15-12 Fm=F3-0 * F7-4, Fa=FLOAT R11-8 by R15-12 Fm=F3-0 * F7-4, Fa=FIX R11-8 by R15-12 Fm=F3-0 * F7-4, Fa=(F11-8 + F15-12)/2 Fm=F3-0 * F7-4, Fa=ABS F11-8

Fm=F3-0 * F7-4, Fa=MAX (F11-8, F15-12) Fm=F3-0 * F7-4, Fa=MIN (F11-8, F15-12) Fm=F3-0 * F7-4, Fa=F11-8 + F15-12,

Fs=F11-8F15-12

Ra, Rm

Any register file location (fixed-point)

R3-0

R3, R2, R1, R0

R7-4

R7, R6, R5, R4

R11-8

R11, R10, R9, R8

R15-12

R15, R14, R13, R12

Fa, Fm

Any register file location (floating-point)

F3-0

F3, F2, F1, F0

F7-4

F7, F6, F5, F4

F11-8

F11, F10, F9, F8

F15-12

F15, F14, F13, F12

(SSF)

X-input signed, Y-input signed, fractional inputs

(SSFR)

X-input signed, Y-input signed, fractional inputs, rounded output

Table VIII. Interrupt Vector Addresses and Priorities

 

Vector

 

 

 

 

Address

 

 

 

No.

(Hex)

Function

 

 

 

 

 

0

0x00

 

Reserved

1*

0x08

 

Reset

2

0xl0

 

Reserved

3

0xl8

Status stack or loop stack overflow or

 

 

PC stack full

4

0x20

Timer=0 (high priority option)

5

0x28

 

IRQ3

asserted

6

0x30

 

IRQ2

asserted

7

0x38

 

IRQ1 asserted

8

0x40

 

IRQ0

asserted

9

0x48

 

Reserved

10

0x50

 

Reserved

11

0x58

DAG 1 circular buffer 7 overflow

12

0x60

DAG 2 circular buffer 15 overflow

13

0x68

 

Reserved

14

0x70

Timer=0 (low priority option)

15

0x78

Fixed-point overflow

16

0x80

Floating-point overflow

17

0x88

Floating-point underflow

18

0x90

Floating-point invalid operation

19–23

0x98-0xB8

Reserved

24–31

0xC0–OxF8

User software interrupts

 

 

 

 

 

*Nonmaskable

REV. C

–11–

Page 11
Image 11
Analog Devices ADSP-21020 manual Fixed-Point, Vector Address Hex Function, IRQ3, IRQ2, IRQ0