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

3 lines
203 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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.