yasm/modules/preprocs/nasm/tests/nasmpp-invalidcc.asm
Anonymous Maarten 8c717107dd
Some checks failed
Build / Build - Ubuntu (push) Failing after 4s
Build / Build - MSVC (push) Has been cancelled
Build / Build - macOS (push) Has been cancelled
Emit an error when seeing an invalid condition code in a macro (nasm mode) (#316)
make-check: check .errwarn file first if yasm failed
2026-07-28 17:44:34 -07:00

9 lines
101 B
NASM

%macro ret_if_cc 1-*
j%+2 %%skip
ret
j%-2 %%skip
ret
%%skip:
%endmacro
ret_if_cc ne