jr32


Unconditional branch (PC relative).

[Syntax]

-

jr32 disp32

 

The following can be specified for disp32:

-

Absolute expression having a value of up to 32 bits

-

Relative expression having a PC offset reference of label

[Function]

Transfers control to the address attained by adding the current program counter (PC) value and the relative or absolute expression value specified by the first operand.

[Description]

The assembler generates one jr machine instruction (6-byte long instruction).

[Flag]

CY

---

OV

---

S

---

Z

---

SAT

---

[Caution]

-

If an absolute expression having an odd-numbered value is specified as disp32, the assembler outputs the following message and stops assembling.

E0550226: illegal operand (must be even displacement)