Error A2006
- From: WhiteFox <spamtrap@xxxxxxxxxx>
- Date: Sun, 26 Mar 2006 23:55:38 +0800
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?
.
- Follow-Ups:
- Re: Error A2006
- From: Mark Whitlock
- Re: Error A2006
- Prev by Date: Re: Paging/Segmentation: how are they realy implemented
- Next by Date: Re: pushb assembler command in gas
- Previous by thread: pushb assembler command in gas
- Next by thread: Re: Error A2006
- Index(es):
Relevant Pages
|