1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
;--- macro redefinition within the macro. ;--- didn't work with GOTO prior to v2.06. .286 .model small E1 = 0 m1 macro x purge m1 :lbl1 mov al,E1+x E1 = E1+1 if E1 lt 5 goto lbl1 endif endm .code m1 0 end