ここでは、変数X(8ビット変数)をレジスタbx(16ビットレジスタ)に移動しようとしています。この場合、Xの値をレジスタbxに移動するにはどうすればよいですか?
.686p
.model flat,stdcall
.stack 2048
.data
X byte 5
ExitProcess proto, exitcode:dword
.code
start:
invoke ExitProcess, 0
mov bx, X; 1>p4.asm(13): error A2022: instruction operands must be the same size
end start ;what does the end statement do?