.intel_syntax noprefix .global function .code64 .macro A arg1, arg2 mov ax, \arg1 mov bx, \arg2 .endm .macro B .set i, 0 .rept 4 // A i + i, i * i A (i + i), (i * i) .set i, i + 1 .endr .endm function: B