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]
|
|
|
|
|
|
BRA(.length) src
|
|
pcdsp:3
|
3 ≤ pcdsp ≤ 10
|
|
|
pcdsp:8
|
-128 ≤ pcdsp ≤ 127
|
|
|
pcdsp:16
|
-32768 ≤ pcdsp ≤ 32767
|
|
|
pcdsp:24
|
-8388608 ≤ pcdsp ≤ 8388607
|
|
|
Rs
|
-2147483648 ≤ Rs ≤ 2147483647
|
|
[Flag Change]
This instruction does not affect the states of flags.
[Description Example]
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