|
|
#1 |
|
Senior Member
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
|
Just wondering what Nop is used for? Obviously there's some use for it because it's there.
|
|
|
|
|
|
#2 |
|
Bastificator [Alumni]
Join Date: May 2000
Location: #nullsoft
Posts: 1,260
|
because a label has to be followed by at least one instruction.
So if you have a conditional jump on something like DLLCompareVersions then you can jump somewhere and do nothing in one case. "Beer?" |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
|
Okay...would SectionEnd count as an instruction? If so, are there any cases outside sections where you would use Nop?
|
|
|
|
|
|
#4 |
|
Member
|
hi,
1. yes, as labels are only valid within a section/function. 2. yes, in functions cu yzo |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|