NOP
No Operation
No Operation does nothing. This instruction can be used for instruction alignment purposes.
The timing effects of including a NOP instruction in a program are not guaranteed. It can increase execution time, leave it unchanged, or even reduce it. Therefore, NOP instructions are not suitable for timing loops.
For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.
If CPSR.DIT is 1 and this instruction passes its condition execution check:
The execution time of this instruction is independent of:The values of the data supplied in any of its registers.The values of the NZCV flags.
The response of this instruction to asynchronous exceptions does not vary based on:The values of the data supplied in any of its registers.The values of the NZCV flags.
It has encodings from the following instruction sets:
A32 (
A1
)
and
T32 (
T1
and
T2
)
.
!= 1111
0
0
1
1
0
0
1
0
0
0
0
0
(1)
(1)
(1)
(1)
(0)
(0)
(0)
(0)
0
0
0
0
0
0
0
0
NOP{<c>}{<q>}
// No additional decoding required
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
NOP{<c>}{<q>}
// No additional decoding required
1
1
1
1
0
0
1
1
1
0
1
0
(1)
(1)
(1)
(1)
1
0
(0)
0
(0)
0
0
0
0
0
0
0
0
0
0
0
NOP{<c>}.W
// No additional decoding required
<c>
See Standard assembler syntax fields.
<q>
See Standard assembler syntax fields.
if ConditionPassed() then
EncodingSpecificOperations();
// Do nothing