RosettaCodeData/Task/Variables/8086-Assembly/variables-3.8086

3 lines
203 B
Plaintext

mov ax, seg MyData ;the assembler replaces this with the segment MyData is located in prior to assembling the program.
mov ds,ax ;load this segment into the data segment register.