beautypg.com

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

Page 520

background image

A-206

SC140 DSP Core Reference Manual

JF

Instruction Formats and Opcodes

Instruction Fields

Rn

RRR

Address Register

d1

$00 0000 0000

$00 0000 0029

d2

$00 0000 0000

$00 0000 0000

d4

$00 0000 0000

$00 0000 001A

pc

$0000 0006

$0000 0016

Instruction

Words

Cycles

1

Note 1: If the branch is not taken, it uses 1 cycle. If the branch is taken, it uses 4 cycles.

Type

Opcode

15

8

7

0

JF label

3

1/4

3

0

0

1

1

0

1

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

JF Rn

1

1/4

4

1

0

0

1

1

R R R

0

1

1

0

0

1

1

1

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.

label

aaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAA

32-bit absolute long address

Note:

Label must be word-aligned, LSBit = 0.

Register/Memory Address

Before

After