delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/09/19:04:55

Message-ID: <3f35735b$0$167$cc7c7865@news.luth.se>
From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: ATT assembler question
Newsgroups: comp.os.msdos.djgpp
References: <20030809094724 DOT 07569 DOT 00000326 AT mb-m18 DOT aol DOT com>
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha))
Date: 09 Aug 2003 22:19:07 GMT
Lines: 22
NNTP-Posting-Host: speedy.ludd.luth.se
X-Trace: 1060467547 news.luth.se 167 130.240.16.13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sterten <sterten AT aol DOT com> wrote:

: in NASM I use to write :

: db 234,12,177

: what's this in ATT  syntax ?

.byte 234,12,177

N. B. untested.

: I thought, I could write and compile my programs in NASM and then
: simply use the "db "  statements to convert them to ATT  for use in GCC+DJGPP

You don't have to recode them into .byte statements. Just ask nasm to
output COFF and you'd be ready to link.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019