From: marcov AT toad DOT stack DOT nl (Marco van de Voort) Newsgroups: comp.os.msdos.djgpp Subject: Re: in-line assembly syntax for GNU ASM/DJGPP Date: 30 Aug 2001 21:54:08 GMT Organization: Eindhoven University of Technology, The Netherlands Lines: 13 Message-ID: References: <09D1E9BD9C30D311919200A0C9DD5C2C03E08A5C AT mcaexc01 DOT msj DOT maxtor DOT com> NNTP-Posting-Host: toad.stack.nl User-Agent: slrn/0.9.7.1 (FreeBSD) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <09D1E9BD9C30D311919200A0C9DD5C2C03E08A5C AT mcaexc01 DOT msj DOT maxtor DOT com>, Cappellini, Tony wrote: > > > Would someone help me with the correct asm syntax for DJGPP for the > following Intel format instructions > > mov AX, OFFSET count > lea AX, count > > > The gnu ASM docs are not very good for syntax examples. Use NASM, and link it against DJGPP.