There are a few instructions without any particular category assigned to them, which are as follows:
- Load effective address (LEA): This instruction calculates the effective address specified with one of the processor's addressing modes in the source operand and stores it in the destination operand. It is also frequently used instead of the ADD instruction when terms are specified as parts of the addressing mode. The following example code shows both cases:
lea eax, [some_label] ; EAX will contain the address of some_label lea eax, [ebx + edi] ; EAX will contain the sum of EBX and EDI
- No operation (NOP): As the name states, this instruction performs no operation and is often used for filling the gaps between aligned ...