None
NOP
Unsized
The no operation instruction, NOP
performs no computation. Execution continues with the instruction following the NOP
instruction. The processor's state is not modified by a NOP
.
NOP
s can be used to introduce a delay in code. Some programmers use them to provide space for patches - two or more NOP
s can later be replaced by branch or jump instructions to fix a bug. This use of the NOP
is seriously frowned upon, as errors should be corrected by re-assembling the code rather than by patching it.
X | N | Z | V | C |
---|---|---|---|---|
- | - | - | - | - |
From MOTOROLA M68000 FAMILY Programmer's reference manual. Copyright 1992 by Motorola Inc./NXP. Adapted with permission.