From: "lewi9908" Newsgroups: comp.os.msdos.djgpp Subject: Re: AT&T inline asm in DJGPP... Date: Fri, 6 Dec 2002 14:17:14 -0800 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <200212020026 DOT gB20QDV26749 AT speedy DOT ludd DOT luth DOT se> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse AT supernews DOT com Lines: 8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > add edx, ...[ebp+0x12] Got some help out side newsgroup and the problem was that ebp+0x12 adds 18 to ebp and not 12 like I wanted and so add edx, [ebp+0xc] is the correct way... Thanks for all the help...