nop
No Operation
NOP
Does nothing. Used for padding or timing.
Details
Performs no operation and does not affect any processor state. NOP is an alias for HINT with immediate 0. No condition flags are affected. Execution state: AArch64-only.
Pseudocode Operation
# No operation performed
PC ← PC + 4
Example
NOP
Encoding
Binary Layout
11010101000000110010
0000
000
11111
Operands
Reference (Arm A64 ISA)
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xD503201F | NOP | A64 | 11010101000000110010 | 0000 | 000 | 11111 |
Description
No Operation does nothing, other than advance the value of the program counter by 4. This instruction can be used for instruction alignment purposes.
Operation
return; // do nothing