beautypg.com

Branch (agu), Status and conditions changed by instruction, Operation assembler syntax – Freescale Semiconductor StarCore SC140 User Manual

Page 413

background image

BRA

SC140 DSP Core Reference Manual

A-99

BRA

Branch (AGU)

BRA

Description

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

None.

Operation

Assembler Syntax

PC + displacement

→ PC

BRA BRA >label

BRA >label
BRA

Causes program execution to continue at location PC + displacement. The displacement, calculated by the
assembler and linker, is a two’s complement integer that represents the relative distance from the current
PC to the destination label. The assembler determines if the PC relative displacement is a short branch
(

10

≤ displacement < 2

10

, W]) or a long branch (

>label [–2

20

≤ displacement < –2

10

, W and 2

10

displacement

< 2

20

, W]).