BRA

Unconditional relative branch

BRA

BRanch Always


[Syntax]

BRA(.length) src

 

[Operation]

PC = PC + src;

[Function]

-

This instruction executes a relative branch to destination address specified by src

 

[Instruction Format]

Syntax

Processng Size

src

Range of pcdsp/Rs

Code size

(Byte)

BRA(.length) src

S

pcdsp:3

3pcdsp10

1

B

pcdsp:8

-128pcdsp127

2

W

pcdsp:16

-32768pcdsp32767

3

A

pcdsp:24

-8388608pcdsp8388607

4

L

Rs

-2147483648Rs2147483647

2

[Flag Change]

This instruction does not affect the states of flags.

[Description Example]

-

BRA label1

-

BRA.A label2

-

BRA R1

-

BRA.L R2

-

Note

For the RX Family assembler manufactured by Renesas Technology Corp., enter a destination address specified by a label or an effective address as the displacement value (pcdsp:3, pcdsp:8, pcdsp:16, pcdsp:24). The value of the specified address minus the address where the instruction is allocated will be stored in the pcdsp section of the instruction.

BRA label

BRA 1000h