On Mon, 11 Dec 2006, Jerome H. Fine wrote:
I am having difficulty getting the following code
assembled
using the watcom assembler. I understand that TASM will do
much better, but I have not been able to find a copy. Do
you know if TASM might be able to assemble the following
code and where I might obtain a copy?
. . .
data: mov ebx,ds:addr ;get pointer into memory ;?????
. . .
data segment use16 'data'
. . .
data ends
. . .
AMONG OTHER THINGS, TASM would probably not be happy about naming both a
code offset AND a segment "data"
Strip it down.
Remove everything that does assemble, until you isolate specific items
that won't assemble. You can put them back in afterwards, but right now,
they get in the way of finding out what is going wrong.