Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-04-2005, 09:01 AM   #1
Baseband Member
 
Join Date: Jul 2005
Posts: 55
Default Assembly Program Execution

Hey all,

If I know how to write an assembly program for, say, an x86 platform, how exactly to I get my CPU to run it? I've only ever ran assembly programs on CPU/Memory simulators that were made in Java or C++. Do I just run the .s19 from a batch file or something?

Thanks.
__________________

Argon is offline   Reply With Quote
Old 08-04-2005, 09:18 AM   #2
Daemon Poster
 
Tulsileaf's Avatar
 
Join Date: Jul 2004
Posts: 1,249
Default Re: Assembly Program Execution

Hello Argon,
Assembly programs are normally converted to binary as with every other language that are compiled.
Your assembly programs, thus, must be in an executable binary format. On Windows this would be the prevailing .exe file type. On UNIX it would be the ELF standard.
__________________

__________________
(|141 73g ()7 (|33|/| 11143s| |_| z1|-|7 (|43s| |/|4> |_| |-|0|1
Tulsileaf is offline   Reply With Quote
Old 08-04-2005, 09:42 AM   #3
Baseband Member
 
Join Date: Jul 2005
Posts: 55
Default

So, in order to execute an assembly program that I have written, I have to compile it into exe format? What programs will do this for me?
Argon is offline   Reply With Quote
Old 08-04-2005, 11:35 AM   #4
Daemon Poster
 
Tulsileaf's Avatar
 
Join Date: Jul 2004
Posts: 1,249
Default Re: Assembly Program Execution

any good assembler of course.
technically you are not compiling assembly programs, you assemble them

here are two links that may help you:
http://en.wikipedia.org/wiki/Assembly_language
http://www.programmersheaven.com/zone5/

The second one has links to assemblers.
__________________
(|141 73g ()7 (|33|/| 11143s| |_| z1|-|7 (|43s| |/|4> |_| |-|0|1
Tulsileaf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off



All times are GMT -5. The time now is 12:22 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0