Re: Newbie Alert !!!



"Mel Smith" <medsyntel@xxxxxxx> wrote in message
news:674squF2mri9nU1@xxxxxxxxxxxxxxxxxxxxx
I'm an application programmer (in an xBase language called xHarbour --
a
superset of Clipper )
I have a very old assembly language file (named treal.asm) circa 1991.
I need to assemble this file with MASM32 (which I have on my machine).
I propose assembling this file with the command:
ML /c treal.asm
Then I'll link in the resulting object module (treal.obj) with the
remainder of my modules.
*But*, when I try to assemble this file (which is shown below), I get
masses of errors (Segment, etc)
Can somebody please correct the old usage below, so that it will
assemble ??

<code snipped>

Are you sure it's not TASM's ideal mode? It looks like it is, to me anyway:

MASM vs. TASM
http://www.ddj.com/184408073

If you add these two lines to the end of the posted code:

ENDS
END

It compiles to an .obj with TASM without warning:

tasm treal.asm

Do you still need it to work with MASM?


Rod Pemberton

.



Relevant Pages

  • Re: What is an assembler?
    ... "You state 'Assembles using TASM and MASM.' ... I have MASM 6.11, but have yet to figure out what is what. ... I wouldn't think so, but then again, I probably wouldn't just assemble ... Maybe you didn't read the text on the web site very thoroughly yet. ...
    (alt.lang.asm)
  • Re: What is an assembler?
    ... BUT it really isn't worth BUYING TASM ... just to assemble this ONE program is it. ... >> contains anything that MASM 2.0 can't handle. ... >"These structure declarations are compatible with either Borland's TASM, ...
    (alt.lang.asm)
  • Re: Is MASM32 an evil Microsoft plot? (Part 2)
    ... > single tool to do the HLL and the assembly portions is ... which does not assemble with MASM. ... You just have to learn the differences between TASM and MASM ...
    (alt.lang.asm)
  • Freeing DOS memory
    ... Assembled with TASM, should assemble with MASM, too, ... All I'm trying to do is free the memory above the program. ...
    (comp.lang.asm.x86)
  • Re: TASM error code
    ... > I can assemble every file with tasm filname.asm. ... > Can anbody help me with that? ... > Thorsten Hallwas ...
    (comp.lang.asm.x86)