Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在: 之后section .data,该行显示为:number db 7 dup 0。错误信息是:Comma expected after operand 1。但是,没有操作数。为什么会出现错误信息?
section .data
number db 7 dup 0
Comma expected after operand 1
NASM 不像dupMASM 那样使用,而是使用TIMES
dup
TIMES
number times 7 db 0
手册中的第 3.2.5 节: 3.2.5 次:重复指令或数据