I was lucky enough to run into some NASM code that compiled fine in FASM changing just a single line;
buffer times 64 db 0
This works fine in NASM, but not in FASM - i had to write:
buffer db 0, 0, 0, 0, 0, 0, ...
There must be a more compact way to do this.
您可能正在寻找:
buffer db 64 dup(0)
在fasm中,当一个标签由宏表示时,其名称应以冒号结尾
buffer: times 64 db 0
你应该写一下
buffer rb 64 ; reserve 64 bytes
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.