aboutsummaryrefslogtreecommitdiffstats
path: root/test/exitrep.asm
blob: 3be8705576e3f75c874f942d6ab42100bc4b5721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%macro testrep 0.nolist
  %assign i 1
  %rep 4
    mov eax,i
    %if i==3
      %exitrep
    %endif
    mov ebx,i
    %ifn i < 3
	%error iteration i should not be seen
    %endif
    %assign i i+1
  %endrep
%endmacro

testrep