NASM: operation size not specified
问题 I wrote this code in emu8086 and it goes well in the emulator but when I'm trying to compile it with NASM it's throwing me up the error: "operation size not specified", help someone? add bx,[3565] sub bx,0xcc mov [bx],0CCh 回答1: NASM can't figure out what you meant by a line like mov [bx],0CCh . Clearly, this sets something to 0CCh. But do you want to have bx pointing to a single byte , short, long, ...? This will manifest itself as the fairly self-explanatory error: operation size not