%macro GetNumber 0.nolist
%assign %%f 0
%rep 99
%if %%f = 9
%exitrep
%endif
%assign %%f %%f + 1
%endrep
DB %%f
%endmacro
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?