The following can be specified for imm:
ANDs the value of the register specified by the first operand with the value of the register specified by the second operand, and stores the result in the register specified by the second operand.
ANDs the value of the absolute expression or relative expression specified by the first operand with the value of the register specified by the second operand, and stores the result in the register specified by the second operand.
When this instruction is executed in syntax "and reg1, reg2", the assembler generates one and machine instruction. |
When this instruction is executed in syntax "and imm, reg2", and the following expression is specified for imm, the assembler executes instruction expansion to generate one or more machine instructionsNote. |
If all the lower 16 bits of the value of imm are 0
Relative expression having $label for a label having a definition in the sdata/sbss-attribute section |
Relative expression having #label or label, or that having $label for a label having no definition in the sdata/sbss-attribute section |