Re: NASM
- From: Dirk Wolfgang Glomp <dirk@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 May 2006 11:26:17 +0200
santosh schrieb:
EricFa wrote:
Hallo Eric.
Wer kennt NASM?
Ich, ein wenig.
Ups, wir sind hier gar nicht auf declax.
http://sourceforge.net/project/showfiles.php?group_id=6208
Ich habe einen kurzen Sourcecode compiled.
Jetzt will ich ihn starten und bekomme folgende Fehlermeldung:
"The parameter is incorrect"
Geben Sie das Quellenprogramm bekannt!
Anyway, sorry if that came out wrong! Only if you post the source for
your short program can we help point out the error.
I use the midnight commander, so i only push return to edit/assemble
(I know mc is a little buggy).
a) Search for the mc.ext and add/manipulate these rows:
# asm
shell/.asm
Open=/home/eric/assemble.sh %f
b) Put these assemble.sh to /home/eric/:
#! /bin/sh
/usr/bin/mcedit $1
nasm -f elf -o `echo $1|sed 's/\.asm$/.o/'` $1
ld -s -o `echo $1|sed 's/\.asm$//'` `echo $1|sed 's/\.asm$/.o/'`
rm `echo $1|sed 's/\.asm$/.o/'`
Dirk
.
- Follow-Ups:
- Re: NASM
- From: Phil Carmody
- Re: NASM
- Prev by Date: Re: I wonder who was stupid enough to hack the masmforum server ?
- Next by Date: Linking libraries?
- Previous by thread: Re: NASM
- Next by thread: Re: NASM
- Index(es):