Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-17-2005, 03:20 AM   #1 (permalink)
 
Junior Techie

Join Date: Jun 2005

Posts: 94

ever_thus

Default need assembler

Here's my problem:

I've got some code that uses assembly intructions which I'm trying to recompe with Borland C/C++ compiler. What Borland does with code conatining assembly is generate a .asm file out of the source code, and then use an assembler to generate the object file from that. By default, it uses tasm (turbo assembler, another Borland product).

Since the compiler doesn't come with a copy of tasm, i downloaded version 5.0. That's the latest version that's free (I'm a poor man). However the assembler generates an error claiming the assembly instructions are illegal. The instructions flagged as illegal are instructions that have only been available since the Pentium II or lIII. It seems that tasm 5.0 doesn't support them.

I tried downloading other assemblers and setting the compiler to use them. The problem now is, when generating the .asm file, Borland uses a format only tasm will recognise. using other assemblers generates a whole list of syntax errors.

In short, what I need is a reasonably priced assembler that supports at least Pentium III instrictions and uses the same syntax as turbo assembler. Any help would be appreciated.
ever_thus is offline  
Old 07-17-2005, 06:31 AM   #2 (permalink)
 
Ultra Techie

Join Date: Oct 2003

Posts: 544

fitzjj

Default

nasmw if you are using windows or nasm if under linux. You can get nasmw with cygwin but i guess you can download it to use with command prompt too.
fitzjj is offline  
Old 07-17-2005, 12:52 PM   #3 (permalink)
 
Junior Techie

Join Date: Jun 2005

Posts: 94

ever_thus

Default

more syntax errors than I can count.
ever_thus is offline  
Old 07-25-2005, 10:30 AM   #4 (permalink)
 
Junior Techie

Join Date: Jun 2005

Posts: 94

ever_thus

Default

Anybody can help? I really need this.
ever_thus is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On