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

2 lines
203 B
Text

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.