hm..
at school we use much older masm linker (1993) v5.31.009
and it compile just fine.
it has this exe template:



dseg SEGMENT
dseg ends

sseg segment stack
dw 100h dup(?)
sseg ends

cseg segment
assume cs:cseg,ds:dseg,ss:sseg

_start proc far
push ds
mov ax,0
push ax
mov ax,dseg ; line 16
mov ds,ax
;<main program>
;
;
;
;
ret ;<end of program>
_start endp

cseg ends ;<end of segment>

end _start


seems like current masm refuses to compile it, hanging at:
"(16) : error A2004: symbol type conflict"

why can't masm (i have v8) compile it?
did it threw out all the old compability for 16 bit?
Posted on 2003-02-17 15:08:30 by wizzra
i suppose u code at school than for dos ... u can?t use the linker from the masm32 package for that.
Try instead the version that is on Iczelion?s Page for dos.
Posted on 2003-02-18 08:50:29 by Allanon
1. ml /c /omf xxxx.asm
2.link xxxx.obj
Please notice it:You must be using the microsoft segmented Execute Linker.
Posted on 2003-02-18 10:46:27 by predrose

1. ml /c /omf xxxx.asm
2.link xxxx.obj
Please notice it:You must be using the microsoft segmented Execute Linker.


Can I use it with MASM8 package ?
Posted on 2003-03-10 04:18:52 by realvampire
realvampire,

You can use it with the latest Masm32 package.:alright:

Regards,

Vortex
Posted on 2003-03-10 04:35:41 by Vortex