From: john Conner Newsgroups: comp.os.msdos.djgpp Subject: Djgpp and Asm Date: Sun, 06 Jul 1997 12:30:12 -0600 Organization: AT&T WorldNet Services Lines: 9 Message-ID: <33BFE434.392@nowhere.com> NNTP-Posting-Host: 207.147.109.208 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ok, heres what I'm trying to do. asm("leal _RAM,%ebp"); /* RAM is a c pointer */ It crashes every time. I get a gpf or stack fault. It works fine if I use esi,edi,ect. Any help? Thanks