RosettaCodeData/Task/Variables/8086-Assembly/variables-1.8086
2023-07-01 13:44:08 -04:00

6 lines
177 B
Text

.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]