- | The movea instruction of the device should be specified in the following formats. |
- | If the following is specified for imm, the assembler executes instruction expansion to generate one or more machine instructions. |
(a) | Absolute expression having a value exceeding the range of -32,768 to +32,767 |
If all the lower 16 bits of the value of imm are 0
|
|
movea imm, reg1, reg2
|
movhi HIGHW(imm), reg1, reg2
|
Else
|
|
movea imm, reg1, reg2
|
movhi HIGHW1(imm), reg1, r1
movea LOWW(imm), r1, reg2
|
(b) | Relative expression having #label or label, or that having $label for a label having no definition in the sdata/sbss-attribute section |
|
|
movea #label, reg1, reg2
|
movhi HIGHW1(#label), reg1, r1
movea LOWW(#label), r1, reg2
|
movea label, reg1, reg2
|
movhi HIGHW1(label), reg1, r1
movea LOWW(label), r1, reg2
|
movea $label, reg1, reg2
|
movhi HIGHW1($label), reg1, r1
movea LOWW($label), r1, reg2
|