【发布时间】:2016-05-01 02:54:57
【问题描述】:
我有 %rep 预处理器指令,它创建了一个预处理器循环。
我想在其中声明标签,可能有一些连接,但我无法正确使用语法。
%assign i 0
%rep 64
label_%i: ;this, of course, doesn't work
inc rax
%assign i i+1
%endrep
那么如何强制 NASM 预处理器为每次“迭代”生成label_i?
【问题讨论】:
标签: assembly preprocessor nasm