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 .bss LC1: RESB 256
我怎样才能在那里写字符或数字?
通过将地址括在括号中。例如:
mov [LC1],eax ; Store the value of eax at address LC1 mov byte [LC1+8],0 ; Store the 8-bit immediate 0 at address LC1+8
有关详细信息,请参阅NASM 手册(特别是第 3.3 节)。