The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => RadAsm Support Forum => Topic started by: WindDancer on February 24, 2005, 04:15:05 PM

Title: Simply Hello world
Post by: WindDancer on February 24, 2005, 04:15:05 PM
Hi my name is Wind Dancer and it is the first time that i visit this great forum !!!!!!!!!!!!!!!!!!! :U

So, hello to everybody !!!!!!!!!!!!!!!

Now here is my question:

I' ve installt masm 32 and Radasm and i have this Code:

.model small
.stack 100h

.data


.code


Nachricht DB 'Hello World!$'
mov ax,@data
mov ds,ax
mov dx, offset Nachricht
mov ah,09h
int 21h

mov ah,4Ch
int 21h
end

the error message is :

undefined symbol : DGROUP

Pleazzzzzzzzzzze help me what's wrong and what can i do to solve this problem ?????????????!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: Simply Hello world
Post by: AeroASM on February 24, 2005, 04:45:19 PM
You have made a very common mistake for beginners to Windows Assembly: you have sent in a DOS program, which will not work with the linker that you have. My advice is to chuck away that the program you have sent in, and read Iczelion's tutorials on Win32 Assembly (http://win32assembly.online.fr/tutorials.html). These will teach you how to write Windows programs. The Hello World is Tutorial 2, but read Tutorial 1 first.
Title: Re: Simply Hello world
Post by: KetilO on February 24, 2005, 06:46:37 PM
Welcome WindDancer

If creating DOS applications is what you want then here is where you can find the linker:
Quote
----------------------------------------------------------------------------------

The DOSLNK.EXE file is the Microsoft Linker version 5.60.339.

To debug your DOS projects you can use Microsoft CodeView.
Linker and debugger can be downloaded from the following link:

http://www.nuvisionmiami.com/books/asm/cv/cv41patch.exe

Extract the files in a temporary location and copy the following files to your MASM32\bin folder.

Filename       Version     Description
--------       -------     -----------
LINK.EXE       5.60.339    Linker *** (rename it to DOSLNK.EXE) ***
CVPACK.EXE     4.26.01     DOS CV4 information optimization utility
CV.EXE         4.10        MS-DOS CodeView debugger for MS-DOS
EED1CXX.DLL    4.10        Expression evaluator for MS-DOS C/C++
EMD1D1.DLL     4.10        Execution model for MS-DOS to MS-DOS
SHD1.DLL       4.10        Symbol handler for MS-DOS
TLD1LOC.DLL    4.10        Local transport layer for MS-DOS

If you're not interested in the debugger, you can download Linker and
CVPACK only from http://spiff.tripnet.se/~iczelion/files/Lnk563.exe
(extract the files, rename LINK.EXE to DOSLNK.EXE and put them in MASM32\bin folder).

Cip

KetilO
Title: Re: Simply Hello world
Post by: Vortex on February 24, 2005, 07:34:30 PM
Hi WindDancer,

Welcome to the forum and discover the world of 32-bit asm :U
Title: Re: Simply Hello world
Post by: WindDancer on March 09, 2005, 02:30:14 PM
Thx to all of you, :bg

now it works and Iczelion is great !!!!!!!! :P


WindDancer