![]() |
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.asmThanks for your time! /Klarre |
coff doesn't handle 16 bit code, nor do I :)
|
Quote:
segment shoud resolve your problem: mov ax,@data mov ds,ax ;because you can't move ax direct to your data segment. |
Quote:
|
| All times are GMT -5. The time now is 10:38 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC