.data MyVar word 0FFFFh ;the leading zero is just to help the assembler tell that this is a number, it's not actually part of the variable. .code mov ax, word ptr [ds:MyVar]