Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 17th, 2006, 3:30 PM   #1
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
dgroup undefined using /coff

I am not sure if I have gotten it correct. But first of all: is dgroup and @data doing the same thing? Second of all: do they keep the adress to the data segment, or what are they?

I have a short piece of code where the first line in the entry function is
mov ax, dgroup
This assembles fine when using this command line
ml.exe file.asm
But when I try to assemble the file to coff object file format, I got an error that tells me that "dgroup is an undefined symbol".
ml.exe /coff file.asm
So my question is: why do I only recieve the error using coff? And is there another way to get the value to my ax register, or alternatively define dgroup?

Thanks for your time!

/Klarre
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call to undefined function mysql_connect() billpull PHP 11 Jul 13th, 2006 2:45 PM
Is this undefined behaviour? InfoGeek C++ 26 Jun 27th, 2006 9:17 AM
undefined reference J_I_M_B_O C 27 May 31st, 2006 4:59 PM
C++ OWL What am I doing wrong Vagabond C++ 7 Mar 24th, 2006 5:31 PM
two errors, need help, openGL code infernosnow C++ 3 Feb 16th, 2005 10:14 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:21 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC