Mail Archives: djgpp/2001/04/04/18:35:44
Message-ID: | <003d01c0bd5a$c3705880$f128c5c3@anonymous>
|
From: | "Traveler" <traveler AT netti DOT fi>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Vs: NASM AND AS
|
Date: | Thu, 5 Apr 2001 01:58:24 +0300
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.5
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id SAA06191
|
Reply-To: | djgpp AT delorie DOT com
|
Moi
>Do I need nasmedit.zip somewhere or is it enough to install Nasm and Nasm-Ide
>for programming?
Tarvitset vain assemblerin ja editorin....(ja hyvän assembler kirjan tottakai :))
>
>
>3) NASM AND AS
>Can I use same Nasm source code (*.asm) in Gnu/ Djgpp As (*.s)?
>
GNU As ei ymmärrä tuon taivaallista nasm:in lähdekoodista koska se käyttää Intelin syntaksia kun taas As käyttää AT&T syntaksia.
esim: NASM GNU AS
_Add4Functio:
push ebp pushl %ebp
mov ebp,esp movl %esp,%ebp
mov ax,[ebp+8] movw 8(%ebp),%ax
add ax,0x4 addw $0x4,%ax
pop ebp popl %ebp
ret ret
Kivan näköistä, eikö ? :)
>
>P.S. Our ice-hockey team "Oulun Kärpät = Oulu's Stoats, http://www.oulunkarpat.fi/"
>won (used sledge-hammer) "Helsingin Jokerit = Helsinki's Jokers, http://www.jokerit.com/"
>7-2 tonight and try take part in semi-final. And Oulun LuistinSeura (OLS) won
>Finnish championchip in bandy (ice-ball) 2001, too. We go in for sports here
>in high-tech city of Oulu, too, indeed.
TPS on paras :)
"Traveler2001AD"
traveler AT netti DOT fi
- Raw text -