test$ cat test.asm cpu 8086 label: times 256 nop je label %imacro je 1.nolist %? short %1 %endmacro %ifdef ERROR je label %endif test$ nasm -v NASM version 3.01rc3 compiled on Mar 6 2026 test$ nasm test.asm -l /dev/stderr 1 2 cpu 8086 3 label: 4 00000000 90 times 256 nop 5 00000100 7503E9FBFE je label 6 7 %imacro je 1.nolist 8 %? short %1 9 %endmacro 10 11 %ifdef ERROR 12 je label 13 %endif test$ nasm test.asm -l /dev/stderr -DERROR 1 2 cpu 8086 3 label: 4 00000000 90 times 256 nop 5 00000100 7503E9FBFE je label 6 7 %imacro je 1.nolist 8 %? short %1 9 %endmacro 10 11 %ifdef ERROR test.asm:12: error: short jump is out of range test.asm:12: warning: signed byte exceeds bounds [-w+number-overflow] 12 00000105 74F9 je label 12 ****************** error: short jump is out of range 12 ****************** warning: signed byte exceeds bounds [-w+number-overflow] 13 %endif test$ oldnasm -v NASM version 2.15rc0 compiled on Dec 28 2018 test$ oldnasm test.asm -l /dev/stderr 1 2 cpu 8086 3 label: 4 00000000 90 times 256 nop 5 00000100 7503E9FBFE je label 6 7 %imacro je 1.nolist 8 %? short %1 9 %endmacro 10 11 %ifdef ERROR 12 je label 13 %endif test$ oldnasm test.asm -l /dev/stderr -DERROR 1 2 cpu 8086 3 label: 4 00000000 90 times 256 nop 5 00000100 7503E9FBFE je label 6 7 %imacro je 1.nolist 8 %? short %1 9 %endmacro 10 11 %ifdef ERROR test.asm:12: error: short jump is out of range test.asm:12: warning: byte data exceeds bounds [-w+number-overflow] 12 00000105 74F9 je label 12 ****************** error: short jump is out of range 12 ****************** warning: byte data exceeds bounds [-w+number-overflow] 13 %endif test$