Skip navigation.

Assembly programming

how run a program in assembly

In The Name Of God
you can write a program in assembly language you must open a word processor program (for instance notepad or microsoft word) and write your instruction and then save that document at Suffix asm(for instance test.asm test is file name and .asm is Suffix of that file)
for run a program that you write in assembly language you must run command prompt dos and then type these command(if your asm file save at this address c:\assembly\test.asm) you must type <tasm file path and file name>(for instance C:\Documents and Settings\admin>cd\ and press enter
c:\>tasm assembly\test.asm and press return and then create an obj file test.obj then you must type
c:\>tlink assembly\test.obj and press return key now create a exe file with your file name test.exe
now for run program you must type
c:\>test
for test .download this program with this assembler(rtm.exe tasm.exe tlink.exe) file and copy into the c:\assembly and run according above text

good luck

Tasm
Tlink
Rtm
Test.asm

No title

Comments

Afreen(افرين) 3. December 2008, 18:57

well haven't read the complete stuff,but yeah did something like this in a subject that had a lab called "embedded systems".and nice work.:up:

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

Download Opera, the fastest and most secure browser
January 2010
M T W T F S S
December 2009February 2010
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31