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.
これは有効なアセンブリ命令ですか?
MOV CX、0F9
つまり、ソースオペランドは「16進数」のように見えますが、命令の最後(またはソースオペランドの最後)に「H」記号は使用されていませんが、「0F9」が含まれています。
はい。これは確かに有効な Intel x86 構文であり、0xF9 を CX レジスタに移動します。慣例により、即値はすべて 16 進数表現であると想定されます。F9 の前に 0 があるのは、アセンブラが値をラベルではなく即値 (16 進数) として扱うようにするためです。ベース n 表現を区別するためのものではありません。