programming question

Kerry Hoath kerry at gotss.net
Wed Nov 12 06:05:22 EST 2008


Regarding assembler under Linux; there are a few things you should know.
firstly any programs you wrote in dos would need to be completely rewritten, 
as Linux does not have a series of interrupt routines like dos;
so you can't call int 10h, int21h etc.
also note that Linux's memory model is flat; and does not use segment 
registers in the way 08x86 assembler does.

there are assemblers under Linux, you want the manpages for as86 and nasm, 
note however that the syntax differs for Linux from dos syntax.

Lame and flac have assembler code if you want to take a look at some.
Regards, Kerry.

----- Original Message ----- 
From: "Bruce Noblick" <brunobrook at columbus.rr.com>
To: "speakup info" <speakup at braille.uwo.ca>
Sent: Wednesday, November 12, 2008 10:10 AM
Subject: programming question


>A few years ago, I took a unix course.  We connected to a linux box to do 
>most of our work.  During that class I found some man pages on the subject 
>I am going to ask about now.  I remember being very qhrilled with this 
>information.  Now that I have my own linux box, I can't find these man 
>pages on it.  I am looking for information on assembler language 
>programming.  I have programs that I have written for DOS and Windows that 
>I would like to port to linux and they are written in Assembler language.
>
> Thanks!
>
> Bruce Noblick
>
>
>  Those who revered the Lord spoke to one another, and the Lord listened 
> attentively. A memory book was prepared before Him in which were recorded 
> the names of those who respected the Lord and honored His name.
>
>  "They will belong to Me," says the Lord who rules over all, "in the day 
> when I prepare My own special property. I will spare them as a man spares 
> his son who serves him."
>
> Malachi 3:16-17
>
> See my web page for contact info and a lot more.
> Here is the address.
> HTTP://HOME.COLUMBUS.RR.COM/bnoblick
> If the above line does not act like a link, try cutting and pasting it to 
> your browser.
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 




More information about the Speakup mailing list