![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
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 ml.exe file.asm ml.exe /coff file.asm Thanks for your time! /Klarre
__________________
http://www.klarre.se |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 4
![]() |
coff doesn't handle 16 bit code, nor do I
![]()
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#3 | |
|
Programmer
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0
![]() |
Quote:
segment shoud resolve your problem: mov ax,@data mov ds,ax ;because you can't move ax direct to your data segment. |
|
|
|
|
|
|
#4 | |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
Quote:
__________________
http://www.klarre.se |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |