Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,001 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,398 people online right now. Registration is fast and FREE... Join Now!




8086 uP programming under linux

 
Reply to this topicStart new topic

8086 uP programming under linux

cricketfancy
19 Jan, 2008 - 08:58 PM
Post #1

New D.I.C Head
*

Joined: 12 Jan, 2008
Posts: 15


My Contributions
hi,
how to run an assembly language program(8086 uP)in linux.
i am using fedora 8 OS.
will the program which runs under TASM in windows work under linux assembler.
that is are the commands similar?
i tried doing man-as but couldnt understand.
if anyone can help pls elaborate how to do so?
i tried running following program but it gave a lot of errors::(error on every line!)

.model small
.data
s1 db 'secomp$'
.code
start:
mov ax,@data
mov ds,ax

mov ah,09h
mov dx,offset s1
int 21h

mov ah,4ch
int 21h
end start

i gave the command - as a.asm


User is offlineProfile CardPM
+Quote Post

no2pencil
RE: 8086 UP Programming Under Linux
19 Jan, 2008 - 09:19 PM
Post #2

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,435



Thanked: 64 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Try nasm instead. There is a lot more information on using nasm.

Just my suggestion...
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 12:19PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month