Error A2006



I'm using the ml 8.x from Visual Studio 2005 to assembly the following file.

..model small
..STACK 1024

..DATA
szHello DB "Hello, world!", 0dh, 0ah, '$'

..code
_main proc
mov ax, @DATA
mov ds, ax

mov ah, 9
mov dx, offset szHello
int 21h

mov ah, 4ch
int 21h
_main endp
end _main

But I got the following error.

error A2006: undefined symbol : DGROUP

It happens at line "mov ax, @DATA"

Can some one tell me what happen and how to fix it?



.



Relevant Pages