Difference between revisions of "Assembler:Commands:NOP"
Jump to navigation
Jump to search
(Created page with ''''command''' nop No Operation. Usually used when removing original code. Performs no operation. This instruction is a one-byte instruction that takes up space in the instruc…') |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Assembler]] | ||
'''command''' nop | '''command''' nop | ||
Line 5: | Line 6: | ||
Usually used when removing original code. | Usually used when removing original code. | ||
− | Performs no operation. | + | |
− | This instruction is a one-byte instruction that takes up space in the instruction stream | + | <div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;"> |
− | but does not affect the machine context, except the EIP register. | + | Performs no operation. This instruction is a one-byte instruction that takes up space in the instruction stream but does not affect the machine context, except the EIP register. |
The NOP instruction is an alias mnemonic for the <code>XCHG (E)AX, (E)AX</code> instruction. | The NOP instruction is an alias mnemonic for the <code>XCHG (E)AX, (E)AX</code> instruction. | ||
− | + | [http://c9x.me/x86/html/file_module_x86_id_217.html c9x.me/x86/html/file_module_x86_id_217.html] | |
− | + | </div> | |
+ | |||
+ | |||
+ | {{AssemblerCommandParametersNone}} | ||
== Examples == | == Examples == | ||
nop | nop | ||
− | + | {{AssemblerCommandSeeAlso}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{Template:AssemblerCommandExternalLinks}} | |
− | |||
− | |||
− |
Latest revision as of 15:54, 3 January 2018
command nop
No Operation.
Usually used when removing original code.
Performs no operation. This instruction is a one-byte instruction that takes up space in the instruction stream but does not affect the machine context, except the EIP register.
The NOP instruction is an alias mnemonic for the XCHG (E)AX, (E)AX
instruction.
Command Parameters[edit]
<none>
Examples[edit]
nop