Make it work in XP

Reply

Join Date: Sep 2005
Posts: 1
Reputation: kraid is an unknown quantity at this point 
Solved Threads: 0
kraid kraid is offline Offline
Newbie Poster

Make it work in XP

 
0
  #1
Sep 13th, 2005
I just started with TASM 5.0, and I have a question.
Is there a way to assemble the exe so I can use it in windows XP?
I write TASM myproject.asm
then TLINK myproject
thats how I was told to do, but I cant run it in XP
how should I assemble to make it work in XP?
Im using TASM 5.0

or are you all programmin in windows 9x? O.o
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 199
Reputation: Tight_Coder_Ex is an unknown quantity at this point 
Solved Threads: 14
Tight_Coder_Ex's Avatar
Tight_Coder_Ex Tight_Coder_Ex is offline Offline
Junior Poster

Re: Make it work in XP

 
0
  #2
Nov 13th, 2005
I've never used TASM, but maybe this might help steer you in the right direction.

In NASM I must compile "NASMW -fwin32 sourcefile". Note -fwin32, this tells the compiler which platform I intend to compile application for.

then "link /entry:Main /machine:ix86 ......", this tell the linker the entry point and what type of machine I intend on running it on.

So check you compiler and linker options to make sure you are using the correct ones so your PE header is created properly for the windows platform.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,350
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1462
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Make it work in XP

 
0
  #3
Nov 21st, 2005
TASM 5.0 is a MS-DOS 6.X and earlier 16-bit assembler and will not assemble 32-bit code that is needed for MS-Windows.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1
Reputation: Ital_Stew is an unknown quantity at this point 
Solved Threads: 0
Ital_Stew Ital_Stew is offline Offline
Newbie Poster

Re: Make it work in XP

 
0
  #4
Oct 13th, 2006
Originally Posted by kraid View Post
I just started with TASM 5.0, and I have a question.
Is there a way to assemble the exe so I can use it in windows XP?
I write TASM myproject.asm
then TLINK myproject
thats how I was told to do, but I cant run it in XP
how should I assemble to make it work in XP?
Im using TASM 5.0

or are you all programmin in windows 9x? O.o

I was having a similar problem. What I did was use a text editor to write the .asm code as well as a DOS batch file with the command line directives. I then placed those files in the BIN folder of TASM. Open the command line prompt, navigate to the BIN folder (where you'll find TASM32.EXE) and enter:

tasm32 <name of the .bat file>.bat

If the code has no errors then you just type the name of the .asm file without the extension.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2
Reputation: condor666 is an unknown quantity at this point 
Solved Threads: 0
condor666's Avatar
condor666 condor666 is offline Offline
Newbie Poster

Re: Make it work in XP

 
0
  #5
Oct 21st, 2006
I think you should try WinASM who includes Masm, WinASM is a complete IDE to develop assembler. You'll find it here :
http://www.winasm.net/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC