- | The satsub instructions of the device should be specified in the following formats. |
- | In asrh, the following formats can also be used in addition to the above. |
- | If the instruction is executed in syntax "satsub imm, reg2", the assembler executes instruction expansion to generate one or more machine instructions. |
satsub 0, reg
|
satsub r0, reg
|
(b) | Absolute expression having a value in the range of -32,768 to +32,767 |
satsub imm16, reg
|
satsubi imm16, reg, reg
|
(c) | 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
satsub imm, reg
|
movhi HIGHW(imm), r0, r1
satsub r1, reg
|
Else
satsub imm, reg
|
mov imm, r1
satsub r1, reg
|
(d) | Relative expression having !label or %label, or that having $label for a label having a definition in the sdata/sbss-attribute section |
satsub !label, reg
|
satsubi !label, reg, reg
|
satsub %label, reg
|
satsubi %label, reg, reg
|
satsub $label, reg
|
satsubi $label, reg, reg
|
(e) | Relative expression having #label or label, or that having $label for a label having no definition in the sdata/sbss-attribute section |
satsub #label, reg
|
mov #label, r1
satsub r1, reg
|
satsub label, reg
|
mov label, r1
satsub r1, reg
|
satsub $label, reg
|
mov $label, r1
satsub r1, reg
|