From: silkwodj AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Converting Intel asm to AT&T syntax Date: Thu, 29 Oct 1998 14:25:38 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 29 Message-ID: <719tt1$tj$1@nnrp1.dejanews.com> References: <713cu6$msm$1 AT supernews DOT com> NNTP-Posting-Host: 205.147.228.2 X-Article-Creation-Date: Thu Oct 29 14:25:38 1998 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 205.147.228.2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <713cu6$msm$1 AT supernews DOT com>, "Thiessen" wrote: > Hi, > First of all, I hope this isn't the wrong newsgroup to post this in. > I am trying to learn the AT&T syntax of inline assembly. I need to convert > some inline assembly functions to the AT&T syntax because DJGPP doesn't > support the way I have it below. I can't figure it out > since I am unfamiliar with any kind of assembly language. > The code is below. If anyone could help convert it so I would know what to > do for future programs that use inline assembly,or if anyone could reccomend > a link to a site that can explain what I am trying to learn I would > appreciate it. > **************************************************************************** Matt Mastracci wrote an excellant tutorial on using Nasm with DJGPP. You don't have to learn AT&T syntax after all, you just need Nasm. The new challenge you are going to find is that since DJGPP is a 32-bit, protected mode compiler, there are a few more interesting thigs to cover. (You just can't execute an 'int 10h', for instance. Try these links and E-Mail me if you'd like to swap ideas. I just covered this ground in the last month or so. http://www.web-sites.co.uk/nasm/ http://www.acs.ucalgary.ca/~mmastrac/files/djgppasm.html Dave Silkworth -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own