NASM Forum > Using NASM

Changed behavior of %exitrep



--- Code: ---%macro GetNumber   0.nolist   
  %assign %%f 0
  %rep 99
    %if %%f = 9
  %assign %%f %%f + 1
  DB %%f

--- End code ---

In NASM 2.14, this macro generates DB 10.
In NASM 2.15, this macro generates DB 9.

To me, the new behavior makes more sense, but I am surprised to see that this change was not documented. I also hesitate to update my code, as I am not sure if this is considered a bug and will be changed back.
Does anyone know if the change is intentional?

The new behaviour is how I would expect it to behave. It looks like it was wrongly coded in older versions.


[0] Message Index

Go to full version