beautypg.com

Instruction formats and opcodes instruction fields – Freescale Semiconductor StarCore SC140 User Manual

Page 528

background image

A-214

SC140 DSP Core Reference Manual

JSR

Instruction Formats and Opcodes

Instruction Fields

Rn

RRR

Address Register

Instruction

Words Cycles Type

Opcode

15

8

7

0

JSR label

3

3/4

1

3

0

0

1

1

0

0

1

1

A

A

A

a

a

1

0

0

0

0

1

A

A

A

A

A

A

A

A

A

A

A

A

A

1

0

a

a

a

a

a

a

a

a

a

a

a

a

a

a

15

8

7

0

JSR Rn

1

3/4

1

Note 1: The cycle time is 4 if the largest execution time of the other instructions grouped with JSR is

≥ 3.

4

1

0

0

1

1

R R R

0

1

1

0

0

0

1

1

label

aaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAA

absolute long address

Note:

Label must be word-aligned, LSBit = 0.

000

R0

010

R2

100

R4

110

R6

001

R1

011

R3

101

R5

111

R7

Note:

This instruction can specify R8-R15 as operands by using a high register prefix.