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 var resb 1
プログラムでこれを値に初期化したいと思います255。
255
mov [var], 255 ;error on this line
コンパイルすると、次のエラーが表示されます。
program.asm:123: error: invalid size for operand 1
ここで何が間違っていますか?