The following can be specified for disp:
Sets only a flag according to the value of the bit specified by the first operand of the data indicated by the address specified by the second operand. The value of the second operand and the specified bit are not changed.
Sets only a flag according to the value of the bit of the register value specified by the first operand of the data indicated by the address specified by the second operand. The value of the second operand and the specified bit are not changed.
Relative expression having $label for a label having a definition in the sdata/sbss-attribute section |
tst1 bit#3, HIGHW(value)[reg1] |
tst1 bit#3, HIGHW(value)[reg1] |
tst1 bit#3, LOWW(value)[reg1] |
tst1 bit#3, LOWW(value)[reg1] |
tst1 bit#3, HIGHW1(value)[reg1] |
tst1 bit#3, HIGHW1(value)[reg1] |
The tst1 machine instruction takes an immediate value in the range of -32,768 to +32,767 (0xFFFF8000 to 0x7FFF) as the displacement. |
If any of the following is specified as disp, the assembler executes instruction expansion to generate multiple machine instructions. |
Relative expression having #label or label, or that having $label for a label having no definition in the sdata/sbss-attribute section |
If a relative expression with #label, or a relative expression with #label and with LOWW applied is specified as disp, [reg1] can be omitted. If omitted, the assembler assumes that [r0] is specified. |
If a relative expression with $label, or a relative expression with $label and with LOWW applied is specified as disp, [reg1] can be omitted. If omitted, the assembler assumes that [gp] is specified. |
If a relative expression with %label, or a relative expression with %label and with LOWW applied is specified as disp, [reg1] can be omitted. If omitted, the assembler assumes that [ep] is specified. |