mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-07 17:46:58 +08:00
There are *four* operators starting with ">": > >> >>> and >=. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
17 lines
226 B
NASM
17 lines
226 B
NASM
%macro testrep 0.nolist
|
|
%assign i 1
|
|
%rep 4
|
|
mov eax,i
|
|
%if i==3
|
|
%exitrep
|
|
%endif
|
|
mov ebx,i
|
|
%if i >= 3
|
|
%error iteration i should not be seen
|
|
%endif
|
|
%assign i i+1
|
|
%endrep
|
|
%endmacro
|
|
|
|
testrep
|