nop

No Operation (A32)

NOP<c>

Does nothing.

Details

Performs no operation and does not modify any registers or memory. Executes in a single cycle and is typically used for instruction alignment or padding. All condition flags (N, Z, C, V) are unaffected. This is an A32 instruction available in all ARM implementations.

Pseudocode Operation

// No operation; pipeline advance only

Example

NOP

Encoding

Binary Layout
cond
00110
0
10
00
00
1
1
1
1
000000000000
 
Format System
Opcode 0x0320F000
Extension A32 (Base)

Operands

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