beautypg.com

Bra branch always bra – Motorola DSP96002 User Manual

Page 230

background image

A - 42

DSP96002 USER’S MANUAL

MOTOROLA

Description:

Program execution continues at location PC+displacement. The PC contains the address of the next in-

struction. The displacement is a 2’s complement 32-bit integer that represents the relative distance from

the current PC to the destination PC. Short Displacement, Long Displacement and Address Register PC

Relative addressing modes may be used. The Short Displacement 15-bit data is sign extended to form

the PC relative displacement. See Section A.10 for restrictions.

CCR Condition Codes: Not affected.

ER Status Bits: Not affected.

IER Flags: Not affected.

Instruction Format:

BRA label (short)

BRA

Branch Always

BRA

Instruction Fields:

Rn - R0-R7

Long PC Relative Displacement - 32 bits

Short PC Relative Displacement - aaaaaaaaaaaaaaa (15 bits)

Timing: 6 + jx oscillator clock cycles

Memory: 1 + ea program words

11

1111

0000

0000

31

14 13

0

PC RELATIVE DISPLACEMENT

0000

0011

0000

0000

00

11

1111

0000

0000

31

14 13

0

0000

0011

0000

001R

11

1111

0aaa

aaaa

31

14 13

0

0000

0011

10aa

aaaa

aa

Operation:

PC+xx

PC

PC+xxxx

PC

PC+Rn

PC

Assembler Syntax:

BRA label (short)

BRA label

BRA Rn

Instruction Format:

BRA label

Instruction Format:

BRA Rn