Hi.
I am trying to compiler my first basic ASM program. I used 16 bits x86 in DOS and used MASM 7.0 (ml.exe) that comes with Visual Studio .NET. Here is the simple code.
-----
.MODEL SMALL
586 ; Indicates support for Pentium chip.
.STACK 100h
.DATA
NameOut DB 'My name is Kuphryn. Welcome to ASM programming!.', 13, 10, '$'
.CODE
Myname PROC
mov ax, @data
mov dx, ax
mov dx, OFFSET NameOut
mov ah, 9h
int 21h
mov al, 0
mov ah, 4ch
int 21h
Myname ENDP
END Myname
-----
Here is the errors MASM outputted.
-----
Assembling: myname.asm
myname.asm(21) : error A2006: undefined symbol : DGROUP
myname.asm(31) : warning A4023: with /coff switch, leading underscore required for start address : Myname
-----
Does anyone know what the error message indicates?
Thanks,
Kuphryn
I am trying to compiler my first basic ASM program. I used 16 bits x86 in DOS and used MASM 7.0 (ml.exe) that comes with Visual Studio .NET. Here is the simple code.
-----
.MODEL SMALL
586 ; Indicates support for Pentium chip.
.STACK 100h
.DATA
NameOut DB 'My name is Kuphryn. Welcome to ASM programming!.', 13, 10, '$'
.CODE
Myname PROC
mov ax, @data
mov dx, ax
mov dx, OFFSET NameOut
mov ah, 9h
int 21h
mov al, 0
mov ah, 4ch
int 21h
Myname ENDP
END Myname
-----
Here is the errors MASM outputted.
-----
Assembling: myname.asm
myname.asm(21) : error A2006: undefined symbol : DGROUP
myname.asm(31) : warning A4023: with /coff switch, leading underscore required for start address : Myname
-----
Does anyone know what the error message indicates?
Thanks,
Kuphryn