Skip to Content.
Sympa Menu

baslinux - Re: [BL] nasm

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Sindi Keesan <keesan AT iamjlamb.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] nasm
  • Date: Wed, 28 Apr 2004 13:31:45 -0400 (EDT)

On Wed, 28 Apr 2004, Ken Martwick wrote:

>
>
> On Tue, 27 Apr 2004, Sindi Keesan wrote(in part):
> >
> > Jim tried compiling with elf on the line and got some error messages.
> >
> > Can you suggest what he might read to learn what changes are needed for
> > linux? He thinks he needs to change interrupt calls to DOS into interrupt
> > calls to linux. He uses 10h 16h 17h and 21h. Is 10h an x86 BIOS call and
> > 21h a DOS call? Can you recommend a good website or a primer for
> > translating between DOS and linux assembly languages?
> >
> Writing assembly-language programs for Linux is quite different than DOS.
> To begin with, all Linux system calls use interrupt 80h. A good place to
> find a lot of information about assembly-language for Linux is at
> http://linuxassembly.org.
> Ken Martwick

This site is currently not accessible but I found
www.tldp.org/HOWTO/Assembly-HOWTO by searching on linux + assembly

It gives many reasons to use C instead of asm but points out that assembly
language programs have no libc dependencies so will run even if you
upgrade a library.

I will let you know when the text editor is ready in linux.





Archive powered by MHonArc 2.6.24.

Top of Page