nop
No Operation (A32)
NOP<c>
Does nothing.
Pseudocode Operation
// No operation; pipeline advance only
Example
NOP
Encoding
Binary Layout
cond
31:28
00110
27:23
0
22
10
21:20
00
19:18
00
17:16
1
15
1
14
1
13
1
12
000000000000
11:0
Operands
Related
Other forms of nop
Across architectures
No Operation : how x86, ARM, RISC-V, and PowerISA each do this.
More in A32 (Base)
Reference
View in Arm A64 ISA Reference ↗
Arm AArch32 ISA
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0x0320F000 | NOP{<c>}{<q>} | A32 | cond | 00110 | 0 | 10 | 00 | 00 | 1 | 1 | 1 | 1 | 000000000000 | ||
| 0xBF00 | NOP{<c>}{<q>} | T32 | 10111111 | 0000 | 0000 | ||
| 0xF3AF8000 | NOP{<c>}.W | T32 | 111100111010 | 1 | 1 | 1 | 1 | 10 | 0 | 0 | 0 | 000 | 0000 | 0000 |
Description
No Operation does nothing. This instruction can be used for instruction alignment purposes.
Operation
if ConditionPassed() then
EncodingSpecificOperations();
// Do nothing