baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Ken Martwick <kenm AT efn.org>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] nasm
- Date: Tue, 27 Apr 2004 13:00:44 -0700 (PDT)
nasm defaults to assembling programs in flat binary format as in DOS
"sys" or "com" programs. Running "nasm -hf" will list the output
formats nasm can produce. For current Linux, the command line should
be "nasm -f elf -o myprog myprog.asm". This will give the right out-
put format, but other changes may also be needed for Linux.
Ken Martwick
On Tue, 27 Apr 2004, Sindi Keesan wrote:
> Nasm is an assembler (used to 'compile' programs written in assembler
> language) that exists in both DOS and linux (maybe also Windows). I used
> it to produce e3 executables.
>
> My partner wrote a DOS text editor in a86 assembler (similar to masm) and
> would like to port it to linux. So he read the nasm.doc and modified a
> few things (added square brackets) and last night got his code to assemble
> with DOS nasm to produce a working DOS text editor.
>
> This morning he assembled the same code with nasm for linux and it
> produced a working text editor, but it is in DOS not linux.
>
> What step did he miss? It is over 2000 lines of code so I don't want to
> include it in my posting.
>
> He would like to use this editor in linux and contribute it to basiclinux
> users once we get it documented. It does a lot more than e3 in only 4K.
>
> _______________________________________________
> BasLinux mailing list
> BasLinux AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux
>
>
-
Re: [BL] repartitioning for linux?
, (continued)
- Re: [BL] repartitioning for linux?, Sindi Keesan, 04/23/2004
- Re: [BL] repartitioning for linux?, Matrix Mole, 04/23/2004
- Re: [BL] repartitioning for linux?, Sindi Keesan, 04/23/2004
- Re: [BL] repartitioning for linux?, Matrix Mole, 04/27/2004
- Re: [BL] repartitioning for linux?, Sindi Keesan, 04/27/2004
- Re: [BL] repartitioning for linux?, James Miller, 04/27/2004
- Re: [BL] repartitioning for linux?, David Lane, 04/27/2004
- [BL] nasm, Sindi Keesan, 04/27/2004
- Re: [BL] nasm, Sheldon Isaac, 04/27/2004
- Re: [BL] nasm, Sindi Keesan, 04/27/2004
- Re: [BL] nasm, Ken Martwick, 04/27/2004
- Re: [BL] nasm, Sindi Keesan, 04/27/2004
- Re: [BL] nasm, Ken Martwick, 04/28/2004
- Re: [BL] nasm, Sindi Keesan, 04/28/2004
- Re: [BL] repartitioning for linux?, Matrix Mole, 04/27/2004
- Re: [BL] repartitioning for linux?, Sindi Keesan, 04/27/2004
- Re: [BL] repartitioning for linux?, 3aoo-cvfd, 04/23/2004
- Re: [BL] repartitioning for linux?, Sindi Keesan, 04/23/2004
- [BL] minimal X for BL2, Sindi Keesan, 04/23/2004
- Re: [BL] minimal X for BL2, David Lane, 04/23/2004
- Re: [BL] minimal X for BL2, Sindi Keesan, 04/24/2004
Archive powered by MHonArc 2.6.24.