Difference between revisions of "Nop"
From Unofficial QEdit Wiki Guide
(→Use) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>nop</span></span> |
− | . | + | |
+ | ==Format== | ||
+ | * None | ||
+ | |||
+ | ==Use== | ||
+ | Does nothing (No Operation). Used to pad the assembly code. Can be used to occupy functions for later ammendments | ||
+ | |||
+ | ==Example== | ||
+ | <span style='font-size:12px;font-family:courier'> | ||
+ | <span style='color:blue'>151: </span><span style='color:green'>nop </span><span style='color:orange'>//Do nothing</span> | ||
+ | <span style='color:green'> ret </span> | ||
+ | <span style='color:blue'>152: </span><span style='color:green'>nop </span><span style='color:orange'>//Do nothing</span> | ||
+ | <span style='color:green'> ret </span> | ||
+ | <span style='color:blue'>153: </span><span style='color:green'>nop </span><span style='color:orange'>//Do nothing</span> | ||
+ | <span style='color:green'> ret </span> | ||
+ | </span> | ||
+ | |||
+ | ==Also see== | ||
+ | [[ret]] |
Latest revision as of 16:20, 15 February 2013
Syntax: nop
Contents
Format
- None
Use
Does nothing (No Operation). Used to pad the assembly code. Can be used to occupy functions for later ammendments
Example
151: nop //Do nothing
ret
152: nop //Do nothing
ret
153: nop //Do nothing
ret