I just installed RadASM and I am trying to assemble the following program wutih MASM.

.MODEL small
.STACK 100h

msg db 'This is a test', 0dh,0ah,'$'


mov dx,OFFSET msg
mov ah,09
int 21h

mov ah,01
int 21h


I get the error --> error A2210: 16 bit segments not allowed with /coff option.

How do I fix the problem?

Posted on 2003-09-20 15:24:03 by jawgaboy
you are making a 16 bit application for which you need

1) different linker settings since it won't be a coff application
2) a different linker :)

check iczelions mainsite http://win32asm.cjb.net for the 16bit linker
Posted on 2003-09-20 15:49:28 by Hiroshimator
Thanks, I will get the linker. Is there anyway I can use the linker that comes with MASM
Posted on 2003-09-20 17:48:47 by jawgaboy
Hi jawgaboy

Here you will find all the info you need to do 16bit.

Posted on 2003-09-20 18:37:09 by KetilO
Thanks a million. I will give it a try.
Posted on 2003-09-20 18:53:10 by jawgaboy