Click to See Complete Forum and Search --> : error when debugging programs in the tasm 5.0


deltanusigma
August 18th, 2008, 01:38 AM
I am using the book Mastering Turbo Assembler 2nd edition
using the tasm 5.0.(o book uses the version 4.0, but with a lot of cost that I got to find
it was the version 5.0)
the problem is that don't get to carry the programs in I darken him/it way debugger none
if I use the debugger for of the he says that the program was link with a wrong version
of the linker(I use tasm and tlink for compiling and linker respectively in the prompt of the one of the)
if I try to use the tlink32 he says that the program has segments of 16 bits e not linker. if I try to carry in I darken him/it debuger for win32 he says when carrying
that the program is not of 32 bits if I try the debugger for windos(without the 32 he says that is not
a program windows). the one that me more I find funny it is that when typing tasm and tlink in the prompt
without anything else he informs that the version of the tasm is 4.1 and of the tlink 5.0
in the book it is taught that to use the debugger it is the best way to learn assembly therefore
not to solve that is in bad
thanks

iviggers
August 18th, 2008, 10:21 AM
Hi DeltaNuSigma,
First of all, do you already get an EXE or COM file? From your description it looks like you don't. That's the first step, before even thinking about debugging a program.

It doesn't affect having TASM version 4.0 and TLINK version 5.0 or 7.0

Could you post any code you intend to assemble/debug? This would allow us to know about the environment of your application. Probably you're only missing some assembly options/switches.

I'm almost sure you're programming for MS-DOS (16-bit), so you don't want to use tlink32 or utilities that address 32-bit environments.

What debugger are you trying to use? Anyway, the debugger doesn't care about the versions of assembler and linker.

See you.

Iņaki Viggers