delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/16/15:25:48

From: silkwodj AT my-dejanews DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: LEARN INTEL AND AT&T ASM, IMPOSSIBLE?
Date: Tue, 16 Mar 1999 19:49:47 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 26
Message-ID: <7cmckn$o22$1@nnrp1.dejanews.com>
References: <01a8ead4$462ae220$302357ce AT axis>
NNTP-Posting-Host: 205.147.228.2
X-Article-Creation-Date: Tue Mar 16 19:49:47 1999 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 <01a8ead4$462ae220$302357ce AT axis>,
  "Axis" <TedMat AT CaostNet DOT com> wrote:
> I'm starting to learn assembly and I want to use it inline with DJGPP but i
> have a book Tricks of the Game Programming Guru's and there source is intel
> syntax compiled in masm 5.1+.  Is it a impossible feat to learn both Intel
> and At&t syntax at the same time.  I know assembly's pretty tough to grasp.
> 	I cosidered just taking the external code a compiling it in coff format
> but theres lots of inline code.  Has anyone out there learned both forms of
> assembly? and what is your opinion?
>
> 		thanks....
>
You are in for more of a challenge than you know about.  The book you have
referenced contains code for strictly 16-bit real mode.  I think I have heard
this book may have been released with DJGPP on the CDROM, which would be very
misleading, if true. (I have a copy of this book, but it does not have DJGPP).

DJGPP is a 32-bit, protected mode compiler.  Section 17 of the FAQ will give
you a hint about what you are up against and a good reference to Matt
Mastracci's tutorial for using NASM to do what you want in Intel syntax.

If you really want to do this in 16-bits, there are plenty of sites on the web
for "borrowing" the older tools (for educatonal purposes only).

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


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