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.