我出于纯粹的兴趣在纳斯姆集会进行实验。我想知道如何在宏功能中使用标签。我已经尝试了下面的代码,这让我重新定义标签错误,我已经认为你可能无法重新定义标签,但我不确定如何继续。
%macro ut_time 1
mov eax, 13
push eax
mov ebx, esp
int 80h
pop ecx
elapsedTimeLoop:
mov eax, 13
push eax
mov ebx, esp
int 80h
pop ecx
sub edx, ecx
cmp edx, %1
je end
jmp elapsedTimeLoop
end:
%endmacro
如果您希望我在错误复制程序中提供上述段,可以这样做。