Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st May 2001, 08:07   #1
petersa
Senior Member
 
petersa's Avatar
 
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.
petersa is offline   Reply With Quote
Old 21st May 2001, 08:24   #2
THEMike
Bastificator [Alumni]
 
THEMike's Avatar
 
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?"
THEMike is offline   Reply With Quote
Old 21st May 2001, 08:33   #3
petersa
Senior Member
 
petersa's Avatar
 
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?
petersa is offline   Reply With Quote
Old 21st May 2001, 08:52   #4
yazno
Member
 
Join Date: Oct 2000
Posts: 92
Send a message via ICQ to yazno
hi,

1. yes, as labels are only valid within a section/function.
2. yes, in functions

cu yzo
yazno is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump