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.
私はこのファイルを持っています:
.code64 pop %rbx
これは、次のディレクティブを使用して yasm で適切にコンパイルされます。
yasm.exe asm.asm -o asm.bin -m amd64 --parser=gas
私の質問は: intel 構文を使用して nasm パーサーを使用して 64 ビット コードをコンパイルする方法はありますか? AT&T 構文があまり好きではない
BITS ディレクティブについては、yasm のマニュアルを参照してください。
bits 64 pop rbx
yasm.exe asm.asm -o asm.bin -m amd64