Releases: NSIS-Dev/nsl-assembler
Releases · NSIS-Dev/nsl-assembler
1.0.3
1.0.2
1.0.2 - 28th March 2011
- Global assignments of "" to registers are no longer assembled
(registers are intialised to an empty string by NSIS). - Fixed
<and>operators using incorrect jump labels. - Jump instructions when used in
switchstatements now receive similar
optimisations to their use inifstatements. For example,MessageBox
can be used with cases "IDYES", "IDNO", "IDCANCEL" and so on. IfSilent
can be used with casestrueorfalse. The go-to labels for each case
will be used directly on the jump instruction (i.e.IfSilent label_case_true label_case_false) as is also done withifstatements. - Switch cases must have literal string, Boolean or integer values.
- Added missing 'default:' case for
switchstatements. - Fixed Boolean values or instructions not being accepted as operands
for a Boolean operator. - Fixed
MessageBoxbeing accepted as a Boolean value. - Fixed
MessageBoxusing 3 goto jumps on the end when only 2 are
allowed. - Fixed
Ifstatements accepting a non-boolean expression. - Fixed Boolean logic for
||operator with left and right operands as
relative/equality comparisons. - Added error on literal division by zero.
- More example scripts!