BSRD

Instruction Formats and Opcodes

Instruction

Words Cycles1 Type Opcode

15

8

7

0

BSRD <label

1

4/5

4

1 0 0 0 0 0 1 A A A A A A A A 0

15

8

7

0

BSRD >label

2

4/5

4

0

0

1

0 a 0 1 0

A

A

A

1 1 a a a

 

 

 

 

 

 

 

 

1

0

0

A A A A A

A

A

A

A A A A a

 

 

 

 

 

 

 

 

Note 1: The branch uses 4 cycles minus the execution time used by the execution set in the delay slot. The cycle count for this instruction cannot be less than 2 cycles. The branch uses 5 cycles, minus the execution time used by the execution set in the delay slot, if the total of the largest cycle time of the instructions grouped with the BSRD and the execution time of the delay slot set is ≥ 4. One cycle is used by the core to push the return address onto the stack.

Instruction Fields

displacement

AAAAAAAA0

8-bit signed PC relative displacement

(<label)

 

 

displacement

aaaaaAAAAAAAAAAAAAA

20-bit signed PC relative displacement

(>label)

A0

 

 

 

A-108

SC140 DSP Core Reference Manual

Page 422
Image 422
Freescale Semiconductor SC140 specifications Bsrd label